doGetOut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
m (Add group)
Line 9: Line 9:


|eff= global |Multiplayer Effects=
|eff= global |Multiplayer Effects=
|gr1= Unit Control |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 26: Line 28:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''doGetOut''' unit(s) |SYNTAX=
| '''doGetOut''' units |SYNTAX=


|p1= unitName: [[Object]] or [[Array]] of [[Object]]s |PARAMETER1=
|p1= units: [[Object]] or [[Array]] of [[Object]]s |PARAMETER1=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
Line 41: Line 43:


| [[commandGetOut]], [[moveOut]], [[leaveVehicle]] |SEEALSO=
| [[commandGetOut]], [[moveOut]], [[leaveVehicle]] |SEEALSO=
}}
}}


Line 53: Line 54:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|DOGETOUT]]
[[Category:Scripting Commands OFP Elite|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP Elite |DOGETOUT]]
[[Category:Scripting Commands Armed Assault|DOGETOUT]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 13:43, 25 September 2020

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Orders one or multiple units to get out from the vehicle (silently). Same as commandGetOut with latter being shown via radio chat.

Notes:
  • Works for both AI and player entities
  • AI unit gets back in - unless is under player command or combined with other sqf commands (orderGetIn false, allowGetIn false or leaveVehicle)
  • Ignores vehicle's lock state - unlike action "Eject" and moveOut
  • 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
  • Plays the vehicle's position's get out animation (same as action "Eject") - unlike moveOut
  • 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
  • AI gets back into formation afterwards
  • Works only on alive units - unlike action "Eject" (one after another) or moveOut (instantly)
  • Does not work on unconscious - unless the AI is under player command. Unlike moveOut or action "Eject" (but one after another))
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.
Groups:
Unit Control

Syntax

Syntax:
doGetOut units
Parameters:
units: Object or Array of Objects
Return Value:
Nothing

Examples

Example 1:
doGetOut _unitOne
Example 2:
doGetOut [_unitOne,_unitTwo]

Additional Information

See also:
commandGetOutmoveOutleaveVehicle

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section