Home   Help Search Login Register  

Author Topic: trigger activation  (Read 443 times)

0 Members and 1 Guest are viewing this topic.

SoldierX

  • Guest
trigger activation
« 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?

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:trigger activation
« Reply #1 on: 04 Jun 2003, 01:26:56 »
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 ;)

gadolinite

  • Guest
Re:trigger activation
« Reply #2 on: 04 Jun 2003, 18:43:36 »
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.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:trigger activation
« Reply #3 on: 04 Jun 2003, 18:54:26 »
Quote
?counter <= 0 : loop

it shud b

? counter >= 0 : goto "loop"

:P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta