{"name":"crew","title":"crew","type":"command","url":"https://community.bistudio.com/wiki/crew","revid":379408,"updated":"2026-10-31T00:02:33Z","groups":["Object Manipulation"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"global"},"description":"Returns the crew (both dead and alive) of the given vehicle.","syntaxes":[{"syntax":"crew vehicleName","params":[{"name":"vehicleName","type":"Object","type_expr":"Object"}],"returns":{"type":"Array","type_expr":"Array","description":"an array with all units in the vehicle is returned."},"form":"unary","right":{"text":"vehicleName"}}],"examples":[{"code":["player in (crew _tank);"]}],"see_also":["commander","driver","gunner","fullCrew","assignedVehicleRole"],"notes":[{"user":"Ofpwarior","date":"2010-02-03T11:28:00Z","text":"The crew command will return crew in order [driver,gunner,commander,turrets,cargo]"},{"user":"SilentSpike","date":"2014-06-01T18:17:00Z","text":"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."}]}