Ofpwarior
The crew command will return crew in order [driver,gunner,commander,turrets,cargo]
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Returns the crew (both dead and alive) of the given vehicle.
crew vehicleName
Parameters:
vehicleName: ObjectReturns: Array - an array with all units in the vehicle is returned.
player in (crew _tank);
commander · driver · gunner · fullCrew · assignedVehicleRole
The crew command will return crew in order [driver,gunner,commander,turrets,cargo]
The crew command will return an empty array if the object has no crew - this includes objects that can't hold crew. If used on a unit (man, module, etc.) it will return an array containing that unit.