Home   Help Search Login Register  

Author Topic: Triggers Timing Problem  (Read 465 times)

0 Members and 1 Guest are viewing this topic.

LAPD

  • Guest
Triggers Timing Problem
« on: 19 Jul 2003, 22:40:38 »
Hello :wave:

I've got 2 triggers. One trigger is activated when all east units are dead in a base area. this trigger activates reinforcements, which I create usuing the 'createunit' command. The second trigger is activated on on a larger area (not that big, but bigger) and it's set to east - not present. This trigger ends the mission. The problem is that the trigger that ends the mission will be activated right as I capture the base, because no east units will be alive. The first trigger, which activates the reinforcements will 'race' the second trigger, which trigger activates it's on activation field first. If the reinforcements trigger wins, then the second trigger will count the reinforcements and still won't go off. If the opposite happends, it's no good. I can't take that bet.

Now for the final question :D : Is there any way to make a trigger being activated only if the conditions are true for a time I set.
Let's say I want the second trigger to only be activated if no east presented for 4 seconds. If there is no east presented for 4 seconds, than the trigger will go off.

P.S: I know people told me not to use not present triggers, but I still want it.

Thanks for reading :)

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Triggers Timing Problem
« Reply #1 on: 19 Jul 2003, 22:48:54 »
In the larger trigger's condition field u can put

this and something

Where something is a word u can turn true in another trigger.

LAPD

  • Guest
Re:Triggers Timing Problem
« Reply #2 on: 19 Jul 2003, 23:51:11 »
Thanks!

I tought about it before you said it, but I just couldn't think how. Just after your post it come intro my head. The sulotion was so easy, dunno how I didn't think of it.

Thank again!  :)