HazJ 1288 Posted December 12, 2013 Hi, can anyone tell me how I can exclude human players from the below group count check? _count = count units group player; Would this work? : if (!isPlayer player) then {_count = count units group player;}; Can't try the above code at the moment. Any help is much appreciated! Dirty Haz Share this post Link to post Share on other sites
Master85 1 Posted December 12, 2013 {!isPlayer _x} count units group player Share this post Link to post Share on other sites
f2k sel 164 Posted December 12, 2013 (edited) Never mind master got there before me. you could just exclude the player from the count but may not work for multiple players in the group _ count = count (units group player-[player]); Edited December 12, 2013 by F2k Sel Share this post Link to post Share on other sites
HazJ 1288 Posted December 13, 2013 Thanks to both of you! Dirty Haz Share this post Link to post Share on other sites
meatball 25 Posted December 17, 2013 Question on a related topic. There an easy way to count all alive AI in a game, regardless of what group they are in? Share this post Link to post Share on other sites