daniel-davies 10 Posted May 26, 2016 Hi guys, I'm back again! I have another problem - essentially, my mission is for thirty players, and uses two Huron helicopters (each with 20 passenger seats) to transport players from the base to the AO, piloted by AI. I'd like to check whether there are no passengers within the second Huron, so I don't have to make it take off and fly the insertion route when it doesn't need to (kinda looks a bit stupid for the players). I'm not sure how I'd go about doing so however, I know I have to use crew and I'm assuming I get the fourth element from the array [driver,gunner,commander,turrets,cargo]? But I'm not sure about writing a condition to check against an empty array. Any help would be appreciated. Share this post Link to post Share on other sites
kylania 568 Posted May 26, 2016 Use the new fullCrew command. _loadedCargoUnits = fullCrew [huron02, "cargo"]; Share this post Link to post Share on other sites
serena 151 Posted May 26, 2016 _vehicleHasNoPassengers = count (fullCrew [_vehicle, "cargo"]) < 1; 1 Share this post Link to post Share on other sites