{"name":"doGetOut","operator":null,"title":"doGetOut","type":"command","url":"https://community.bistudio.com/wiki/doGetOut","revid":310022,"updated":"2022-05-05T12:20:49Z","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 (silently). Same as commandGetOut with latter being shown via radio chat.\n\nNotes:\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 - unless the AI is under player command. Unlike moveOut or action \"Eject\" (but one after another))","syntaxes":[{"syntax":"doGetOut units","since":null,"effect":null,"exec":null,"params":[{"name":"units","type":"Object or Array of Objects","optional":false,"default":null,"description":null,"types":["Object","Array"],"since":null,"text":"units: Object or Array of Objects"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"units","types":["Object","Array"]}}],"examples":[{"text":"```sqf\ndoGetOut _unitOne;\n```","code":["doGetOut _unitOne;"]},{"text":"```sqf\ndoGetOut [_unitOne,_unitTwo];\n```","code":["doGetOut [_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":["commandGetOut","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"]}