OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SoldierX on 04 Jun 2003, 00:20:04
-
i want this trigger to go off after a certain amount of time some U.S. units aren't in the zone but i can't figure out the countdown thing. can anybody help me?
-
Try using Timeout instead of countdown.
If you have a not present trigger, and set all three timeout values (min,mid,max) to the same value, the trigger will always wait for that number of seconds after the units aren't in it to go off ;)
-
I have a better way.
Make a script called "timer.sqs"
counter = 5
#loop
counter = counter - 1
~1
?counter <= 0 : loop
In that trigger in the condition forld put counter == 5 (when counter = 5)
I am using 5 as an example time limit for 5 seconds, adjust your time limit.
-
?counter <= 0 : loop
it shud b
? counter >= 0 : goto "loop"
:P
LCD OUT