OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mostly on 07 Feb 2009, 17:14:31

Title: Particular unit in trigger area to end mission
Post by: Mostly on 07 Feb 2009, 17:14:31
The title says it all.
I want my mission to end when a particular unit (lets call him a1) moves into an area which is covered by a trigger.
What do I need to do?
Title: Re: Particular unit in trigger area to end mission
Post by: Planck on 07 Feb 2009, 18:07:27
An End trigger set to Anybody Present with 'a1 in thislist' in the Condition field and 'forceEnd' in the On Activation field should do the trick, it works in the editor at least.


Planck
Title: Re: Particular unit in trigger area to end mission
Post by: eegore on 08 Feb 2009, 02:21:33

  I always just grouped that particular unit with the End trigger by drawing the standard group line. 

  Had to figure that on out because aircraft would randomly end my mission.