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: Trigger only fired if unit/group is alive (Solved)  (Read 1643 times)

0 Members and 1 Guest are viewing this topic.

Offline AirCav

  • Members
  • *
  • I'm a llama!
Trigger only fired if unit/group is alive (Solved)
« on: 16 Jun 2008, 01:01:01 »
Question: What does the Condition line look like for a trigger that is fired only if a unit or group is alive? 

I've done several searches and only found returns for triggers activated if a group is dead.   

-Ry
« Last Edit: 16 Jun 2008, 23:28:59 by AirCav »

Offline Rommel92

  • Members
  • *
Re: Trigger only fired if unit/group is alive
« Reply #1 on: 16 Jun 2008, 01:08:34 »
Condition: Alive MrX
Condition: count units MrXGroup > 0

I think this should help, first one being the is Alive unit, second being the is Alive group.

 :good: