commandGetOut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Armed[ _]Assault(\|.*)]]" to "{{GameCategory|arma1|Scripting Commands}}")
m (Text replacement - "[[Arma 3 " to "[[Arma 3: ")
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma1 |Game name=
|game1= ofpe
|version1= 1.00


|1.00|Game version=
|game2= arma1
|version2= 1.00


|gr1= Unit Control |GROUP1=
|game3= arma2
|version3= 1.00


|arg= local |Multiplayer Arguments=
|game4= arma2oa
|version4= 1.50


|eff= global |Multiplayer Effects=
|game5= tkoh
____________________________________________________________________________________________
|version5= 1.00


| Orders one or multiple units to get out from the vehicle (via the radio). Same as [[doGetOut]] with latter being silent.  
|game6= arma3
<br><br>
|version6= 0.50
Notes:
 
|gr1= Unit Control
 
|arg= local
 
|eff= global
 
|descr= Orders one or multiple units to get out from the vehicle (via the radio). Same as [[doGetOut]] with latter being silent.  
{{Feature|informative|
* Works for both AI and player entities
* 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]])
* 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 [[Arma_3_Actions#Eject|action "Eject"]] and [[moveOut]]
* Ignores vehicle's lock state - unlike [[Arma 3: Actions#Eject|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 [[Arma_3_Actions#Eject|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 [[Arma 3: Actions#Eject|action "Eject"]] and [[moveOut]]
* Plays the vehicle's position's get out animation (same as [[Arma_3_Actions#Eject|action "Eject"]]) - unlike [[moveOut]]
* Plays the vehicle's position's get out animation (same as [[Arma 3: Actions#Eject|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 [[Arma_3_Actions#Eject|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 [[Arma 3: Actions#Eject|action "Eject"]]) - unlike [[moveOut]]
* AI gets back into formation afterwards
* AI gets back into formation afterwards
* Works only on alive units - unlike [[Arma_3_Actions#Eject|action "Eject"]] (one after another) or [[moveOut]] (instantly)
* Works only on alive units - unlike [[Arma 3: Actions#Eject|action "Eject"]] (one after another) or [[moveOut]] (instantly)
* Does not work on [[setUnconscious|unconscious]] - unless the AI is under player command. Unlike [[moveOut]] or [[Arma_3_Actions#Eject|action "Eject"]] (but one after another))
* Does not work on [[setUnconscious|unconscious]] units - unless the AI is under player command. Unlike [[moveOut]] or [[Arma 3: Actions#Eject|action "Eject"]] (but one after another)
|DESCRIPTION=
}}
____________________________________________________________________________________________
 
| '''commandGetOut''' units(s) |SYNTAX=


|p1= unitName: [[Object]] or [[Array]] of [[Object]]s |PARAMETER1=
|s1= [[commandGetOut]] unit(s)


|p1= unit(s): [[Object]] or [[Array]] of [[Object]]s


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]
____________________________________________________________________________________________
 
|x1= <code>[[commandGetOut]] _unitOne</code> |EXAMPLE1=


|x2= <code>[[commandGetOut]] [_unitOne,_unitTwo]</code> |EXAMPLE2=
|x1= <sqf>commandGetOut _unitOne;</sqf>
____________________________________________________________________________________________


| mp= 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. |=
|x2= <sqf>commandGetOut [_unitOne,_unitTwo];</sqf>


| [[doGetOut]], [[moveOut]], [[leaveVehicle]] |SEEALSO=
|mp= 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.


|seealso= [[doGetOut]] [[moveOut]] [[leaveVehicle]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|COMMANDGETOUT]]
[[Category:Scripting Commands OFP Elite |COMMANDGETOUT]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:38, 6 May 2024

Hover & click on the images for description

Description

Description:
Orders one or multiple units to get out from the vehicle (via the radio). Same as doGetOut with latter being silent.
  • 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 units - 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:
commandGetOut unit(s)
Parameters:
unit(s): Object or Array of Objects
Return Value:
Nothing

Examples

Example 1:
commandGetOut _unitOne;
Example 2:
commandGetOut [_unitOne,_unitTwo];

Additional Information

See also:
doGetOut moveOut leaveVehicle

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