count – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Note on the notes)
(No difference)

Revision as of 11:24, 4 January 2010

The notes mention using {alive _x} count units to check how many are actually alive, but I don't think 'alive' updates any faster than the group, i.e. "alive unit" returns true until the leader discovers the unit is dead. So, a more accurate count can be obtained with

{damage _x < 1} count units

--nomdeplume 10:24, 4 January 2010 (CET)