Results 1 to 3 of 3
  1. #1
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155

    Things happends on coordinate

    So uhm, the title says everything :P
    How do I make things "happen" when I move on a special coordinate?
    For an example, If I walk over one coordinate text shows up?
    Is it possible? ;p

  2. #2
    panzerbjørn's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Pizza Hut...
    Posts
    305
    Reputation
    7
    Thanks
    17
    My Mood
    Angelic
    Quote Originally Posted by EpicPlayer View Post
    So uhm, the title says everything :P
    How do I make things "happen" when I move on a special coordinate?
    For an example, If I walk over one coordinate text shows up?
    Is it possible? ;p
    already made Mate but its just dumb cause it overflows the game, i think

  3. #3
    Talamaur's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    10
    My Mood
    Blah
    Quote Originally Posted by EpicPlayer View Post
    For an example, If I walk over one coordinate text shows up?
    Is it possible? ;p
    Yep. For example,
    Code:
    xyz_test = (1, 1, 1);
    
    thread()
    {
    	while(distance(xyz_test, self.origin) < 300)
    	{
    		level.TestText destroy();
    		level.TestText = level createServerFontString("objective", 1.4);
    		level.TestText setPoint("CENTER", "CENTER", 0, -100);
    		level.TestText setText("^1danger zone");
    		wait 1;
    	}
    	level.TestText destroy();
    }
    Maybe I'm wrong.