Home   Help Search Login Register  

Author Topic: Not alive GroupName  (Read 661 times)

0 Members and 1 Guest are viewing this topic.

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Not alive GroupName
« on: 14 Sep 2005, 08:01:01 »
is there a command for the not alive _Unit one that works on a group instead? e.g. Not Alive Group1?
"If I remain lost and die on a cross, atleast I wasn't born in a manger"

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Not alive GroupName
« Reply #1 on: 14 Sep 2005, 08:20:51 »
Code: [Select]
{alive _x} count units group_name == 0
that's a condition which will check if the number of units alive in a group is equal to 0.