OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Anci on 03 Jul 2003, 07:26:15

Title: Trigger
Post by: Anci on 03 Jul 2003, 07:26:15
How to make trigger that will be activated when certain _group is no more alive ? What should i put in condition field ?  ???

Would be nice to know  :)
Title: Re:Trigger
Post by: polat on 03 Jul 2003, 07:47:31
I'll give you an example:

Condition field: not alive ap
Activation field: Whatever you need

ap is the name of the person.
not alive means dead.
Title: Re:Trigger
Post by: Anci on 03 Jul 2003, 08:01:22
 ::) Yeah i know this... but how to make trigger detect that aP and ALL the units in it's GROUP are dead.

Thansk for reply anyway.   :)
Title: Re:Trigger
Post by: CrashnBurn on 03 Jul 2003, 11:28:24
trigger condition-

(("Alive _x" count units Alpha) == 0)

Change Alpha to your groupname.
Title: Re:Trigger
Post by: Anci on 03 Jul 2003, 12:09:29
works !  :)

thanks... Case closed