Wait Trigger
Moderator: Core Staff
Wait Trigger
Hey guys, i just have a quick question. how do i make a trigger that waits 30 seconds untill it activates? for example one guy is in a room and when hes been in there for 30 secs he will be moved to the next one? i already know how to make a teleporter.
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Wait Trigger
You want the trigger to wait BEFORE or AFTER someone triggers it?
For example:
Player walks into room, touches trigger, then wait 30 seconds for event... or
Map starts, trigger waits for 30 seconds then turns on?
I am guessing the first one, so:
For example:
Player walks into room, touches trigger, then wait 30 seconds for event... or
Map starts, trigger waits for 30 seconds then turns on?
I am guessing the first one, so:
Code: Select all
trig = getent("trig","targetname");
trig waittill ("trigger");
wait 30;
//Do something here

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Wait Trigger
thx drofder
damn im stupid 


Who is online
Users browsing this forum: No registered users and 1 guest