Home   Help Search Login Register  

Author Topic: Activating a Trigger after a certain event.  (Read 381 times)

0 Members and 1 Guest are viewing this topic.

Olphy

  • Guest
Activating a Trigger after a certain event.
« on: 25 May 2004, 00:39:14 »
Hi.

I am making a mission where a Resistnce Squad has just destroyed a Govt Convoy and are on the run. But their Escape route happens to be the way they came in as well.

What I want to happen is for a Trigger to activate when the Resi Squad activates it AFTER the Convoy has been destroyed, so the Trigger must be activated by the Resistance squad ONLY if all of the units in the Convoy are dead. Anyway of doing this?

Cheers.

Olphy.

TERA_Forrest

  • Guest
Re:Activating a Trigger after a certain event.
« Reply #1 on: 25 May 2004, 02:36:43 »
well, if there isn't any other threat to the convoy u could just use this trigger setup:

condition: (not (alive c1)) && (not (alive c2)) && (not (alive c3))
activation: hint "Convoy Destroyed"; t1=true

c1= name of convoy car/convoy ai bla bla, just name what ever it is u want the trigger to wait on.

this trigger will wait for c1, c2 and c3's death or destruction before activating.

on the second trigger do this...

resistance/ present
condition: this && t1
activation:

the trigger will not go off untill the named parts of the convoy is destroyed AND resistance peeps set off the second trigger.  U can change "t1" to anything u want, just make sure u change it for both triggers.


hope this helps :)
« Last Edit: 25 May 2004, 02:39:09 by TERA_Forrest »

Olphy

  • Guest
Re:Activating a Trigger after a certain event.
« Reply #2 on: 25 May 2004, 10:12:31 »
Cheers m8. ;)