How to you implement a CTF type map trigger?
by Chris Garrett (CG) · in Torque Game Engine · 05/21/2002 (6:56 pm) · 5 replies
How do I go about implementing a timed map trigger? I want to fire a victory type event when a players stands over a trigger for a certain amount of time. CTF type of thing.
C
C
#2
05/23/2002 (6:13 pm)
When a player collides with the flag, schedule a timer. When the timer expires, seee if the player is still over the flag. If so, then it's a win situation.
#3
T
05/25/2002 (7:56 am)
Thanks for the replies, I figured it out. I will post the details sometime over the weekend.T
#4
06/02/2002 (2:03 pm)
*bump*
#5
Also, you need to reset the trigger time for each player when they enter the trigger (so its a single continous trigger).
I'll have something similar in RWTA later this week if you keep an eye out for its released.
Phil.
06/02/2002 (2:14 pm)
Make a trigger, when the trigger ticks for each player in the trigger add 1 tick to thier "total trigger time", if any of them reach MAX_TIME then cause a win.Also, you need to reset the trigger time for each player when they enter the trigger (so its a single continous trigger).
I'll have something similar in RWTA later this week if you keep an eye out for its released.
Phil.
Torque Owner Saul Abreu