Jump to navigation Jump to search
Revision as of 10:22, 13 May 2022 by Lou Montana (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
- Returns the crew (both dead and alive) of the given vehicle.
- Object Manipulation
- crew vehicleName
- vehicleName: Object
- Return Value:
- Array - An array with all units in the vehicle is returned.
- Example 1:
- Posted on 3 February, 2010 - 11:28
- The crew command will return crew in order [driver,gunner,commander,turrets,cargo]
- Posted on 1 June, 2014 - 18:17
- 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.