crew – Talk
Unfortunately the returned crew array will not always be in the format
[driver,gunner,commander,turrets,cargo].
It will automatically resize, meaning for example if there was no Commander, the array would resize to 4 elements. if there was no crew at all, it would resize to an empty array
In its present form this can only really be used for counting the total crew in a vehicle (count crew _vehicle)
What may be more useful would be to have the crew return an array that does not resize
So for example, if there was no driver, no commander, no turrets and only 1 unit in cargo
hint format [ "%1",crew _vehicle];
would return something like
[objnull , B 1-1-C:1 , objnull , [],[B 1-1-C:3] ]
and then have a new command for returning the number of crew in a vehicle
For example "CrewCount"