Wait Trigger

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
TTTT
CJ Wannabe
CJ Wannabe
Posts: 30
Joined: August 16th, 2009, 5:51 am

Wait Trigger

Post by TTTT » November 3rd, 2009, 3:33 pm

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.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Wait Trigger

Post by Drofder2004 » November 3rd, 2009, 5:19 pm

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:

Code: Select all

trig = getent("trig","targetname");
trig waittill ("trigger");
wait 30;
//Do something here
Image
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

TTTT
CJ Wannabe
CJ Wannabe
Posts: 30
Joined: August 16th, 2009, 5:51 am

Re: Wait Trigger

Post by TTTT » November 3rd, 2009, 8:01 pm

thx drofder :D damn im stupid :roll:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest