Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Particular unit in trigger area to end mission  (Read 1344 times)

0 Members and 1 Guest are viewing this topic.

Offline Mostly

  • Members
  • *
Particular unit in trigger area to end mission
« 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?
They mostly come out at night. Mostly!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Particular unit in trigger area to end mission
« Reply #1 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
« Last Edit: 07 Feb 2009, 18:09:20 by Planck »
I know a little about a lot, and a lot about a little.

Offline eegore

  • Members
  • *
Re: Particular unit in trigger area to end mission
« Reply #2 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.