{"name":"crew","operator":null,"title":"crew","type":"command","url":"https://community.bistudio.com/wiki/crew","revid":348275,"updated":"2023-11-08T11:40:38Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Returns the crew (both dead and alive) of the given vehicle.","syntaxes":[{"syntax":"crew vehicleName","since":null,"effect":null,"exec":null,"params":[{"name":"vehicleName","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"vehicleName: Object"}],"returns":{"type":"Array","types":["Array"],"description":"an array with all units in the vehicle is returned.","text":"Array - an array with all units in the vehicle is returned."},"form":"unary","operator":null,"left":null,"right":{"text":"vehicleName","types":["Object"]}}],"examples":[{"text":"```sqf\nplayer in (crew _tank);\n```","code":["player in (crew _tank);"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["commander","driver","gunner","fullCrew","assignedVehicleRole"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Operation Flashpoint version 1.00","Operation Flashpoint: Elite: Scripting Commands"]}