OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Manz on 06 Sep 2005, 18:20:28

Title: a new trigger question
Post by: Manz on 06 Sep 2005, 18:20:28
I know how to make a trigger get activate if someone dies but how can it get activated when a group dies...
Title: Re:a new trigger question
Post by: greg147 on 06 Sep 2005, 18:23:02
Group the trigger with the desired group by using the group-drag thing. Then look at the trigger. Change its axis's to 0 by 0. You should have new options in the box you normaly have 'west' and 'east'. Select 'any group member' and change it to 'not present'. Then, when all the group members are dead, it will activate  ;)
Title: Re:a new trigger question
Post by: THobson on 06 Sep 2005, 22:56:55
That would require the trigger area to cover the map.  No problem - but easily missed.  You could also try something like:

{alive _x} count units groupname < 1

in the activation field of the trigger.  The trigger could then be of zero size.