BronzeEagle 2 Posted October 31, 2009 im trying to make a condition that everyone is out of the cargo of a helicopter that the objective gets ticked. I know how to tick an objective but i don't know how to write the condition. could someone help me? Share this post Link to post Share on other sites
poweruser 10 Posted October 31, 2009 checking for certain units: {_x in VEHICLE} count ARRAY == 0 checking for an empty cargo space: count ((crew VEHICLE) - [commander VEHICLE, gunner VEHICLE, driver VEHICLE]) == 0 VEHICLE => your chopper ARRAY => an array holding all units to check for Share this post Link to post Share on other sites
BronzeEagle 2 Posted October 31, 2009 so array would be the group name of the group im checking to see if they all got out? Share this post Link to post Share on other sites
poweruser 10 Posted October 31, 2009 you need to read the units from the group first 'units GROUPNAME' {_x in VEHICLE} count (units GROUPNAME) == 0 Share this post Link to post Share on other sites
BronzeEagle 2 Posted October 31, 2009 now i get it, thanks. ill try it and see what happens. Share this post Link to post Share on other sites