The Exiled
http://theexiled.pwnageservers.com/forum/

Question about mapping: Triggers
http://theexiled.pwnageservers.com/forum/viewtopic.php?f=7&t=424
Page 1 of 2

Author:  TE-Braveskin [ Sat Aug 27, 2005 4:44 pm ]
Post subject:  Question about mapping: Triggers

So Im making a new training map for TE. I want to make a safe area. I have a big trigger placed. and ive got it named. but how do I get the trigger to actually work. I cant even get it to echo something into the console.

Heres my trigger:

Code:

instant Trigger "SafeTrigger" {
         dataBlock = "GroupTrigger";
         name = "";
         position = "-1160.5 -117.665 251.776";
         rotation = "0 0 0";
         boundingBox = "-40 -60 -50 40 60 50";
         isSphere = "True";
      };



And heres my code where I want to to echo (do stuff when I get it to work):

Code:

function SafeTrigger::onEnter(%this,%object)
{
   %type = getObjectType(%object);
   if(%type == "Player")
     {
     echo(%object);

     }
}




Thanks for considering helping :D

Author:  TE-Braveskin [ Sat Aug 27, 2005 4:47 pm ]
Post subject: 

omg lol. sorry, I found my prob. Name wasnt defined. Ty for your help guys. Im going to have a kick-ass training area for you soon enough.

Author:  TE-Krogoth [ Sat Aug 27, 2005 5:42 pm ]
Post subject: 

Also make sure that the trigger isn't a sphere.

Author:  TE-Kalidor [ Mon Aug 29, 2005 6:02 am ]
Post subject: 

-.O yup.

Author:  TE-Reativ [ Tue Aug 30, 2005 10:46 am ]
Post subject: 

Please make it nothing like KWSN Duel, Duel, Duel 10, or any other variations of that map. I am sick of it. If you need any help with the coding let me know, I helped Gohan with the original Duel 10 map, where there was a cheat room and such.

Author:  TE-Kalidor [ Wed Aug 31, 2005 9:37 pm ]
Post subject: 

heh heh....cheat room...

I've found it once.

Author:  TE-Deadman Inc. [ Thu Sep 01, 2005 12:27 am ]
Post subject: 

I know where the cheat room is.

Author:  TE-Braveskin [ Sat Sep 03, 2005 4:48 pm ]
Post subject: 

Dont worry, its a map I started from scratch.

(its going to have a treadmill... lol)

Author:  TE-Deadman Inc. [ Sat Sep 03, 2005 7:03 pm ]
Post subject: 

That would be interesting.

Author:  TE-Kalidor [ Sat Sep 03, 2005 7:18 pm ]
Post subject: 

Hmm...could yo umak epart of it so we can practice skiing?


<For the ppl who dont use an autoski>

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/