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: dead targets  (Read 1796 times)

0 Members and 1 Guest are viewing this topic.

armymanbronson

  • Guest
dead targets
« on: 23 Aug 2002, 15:36:24 »
hi guys sorry to be a pain but, i got the target e for the ai and they shoot at it, but i want to make a trigger when all the targets are not present the mission ends, so i make this trigger but the mission ends straight away. how can i make the trigger activate when all the targets are dead?. thanks
brons :-[

T.S.C.Plage

  • Guest
Re:dead targets
« Reply #1 on: 23 Aug 2002, 16:33:26 »
Trigger:

Size = 0
Type = End1
Condition = (write) not alive unit1 and not alive unit2 and...


That should end the mission if all named targets (here unit1 and unit2) are dead.

Greetz
Plage
« Last Edit: 23 Aug 2002, 16:35:13 by T.S.C.Plage »

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:dead targets
« Reply #2 on: 28 Aug 2002, 20:09:20 »
Well that should do it..  :D

And armymanbronson, never mind, we all forget to solve our topics from time to time  ::) ;)
Not all is lost.