{"name":"commandGetOut","operator":null,"title":"commandGetOut","type":"command","url":"https://community.bistudio.com/wiki/commandGetOut","revid":364242,"updated":"2024-05-06T09:38:17Z","groups":["Unit Control"],"status":"ok","replaced_by":[],"games":[{"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":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"description":"Orders one or multiple units to get out from the vehicle (via the radio). Same as doGetOut with latter being silent.\n\n> [!NOTE]\n> - Works for both AI and player entities\n> - AI unit gets back in - unless is under player command or combined with other sqf commands (orderGetIn false, allowGetIn false or leaveVehicle)\n> - Ignores vehicle's lock state - unlike action \"Eject\" and moveOut\n> - AI waits for execution until vehicle has stopped/is no longer flying (unclear if any timeout exists for order to be discarded) - unlike action \"Eject\" and moveOut\n> - Plays the vehicle's position's get out animation (same as action \"Eject\") - unlike moveOut\n> - When execute for multiple units, it waits till the action is completed, before the next to take his turn (same as action \"Eject\") - unlike moveOut\n> - AI gets back into formation afterwards\n> - Works only on alive units - unlike action \"Eject\" (one after another) or moveOut (instantly)\n> - Does not work on unconscious units - unless the AI is under player command. Unlike moveOut or action \"Eject\" (but one after another)","syntaxes":[{"syntax":"commandGetOut unit(s)","since":null,"effect":null,"exec":null,"params":[{"name":"unit(s)","type":"Object or Array of Objects","optional":false,"default":null,"description":null,"types":["Object","Array"],"since":null,"text":"unit(s): Object or Array of Objects"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"unit(s)","types":["Object","Array"]}}],"examples":[{"text":"```sqf\ncommandGetOut _unitOne;\n```","code":["commandGetOut _unitOne;"]},{"text":"```sqf\ncommandGetOut [_unitOne,_unitTwo];\n```","code":["commandGetOut [_unitOne,_unitTwo];"]}],"multiplayer":"This command is only effective when used on local units. When used on a remote unit, this command will create radio dialogue on the machine the unit is local to, but the unit will not leave the vehicle.","problems":null,"aliases":[],"see_also":["doGetOut","moveOut","leaveVehicle"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Unit Control","Introduced with Operation Flashpoint: Elite version 1.00","Operation Flashpoint: Elite: New Scripting Commands","Operation Flashpoint: Elite: Scripting Commands","Scripting Commands","Scripting Commands: Global Effect","Take On Helicopters: Scripting Commands"]}