commandGetOut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= Unit Control |GROUP1=
|gr1= Unit Control


|arg= local |Multiplayer Arguments=
|arg= local


|eff= global |Multiplayer Effects=
|eff= global


| Orders one or multiple units to get out from the vehicle (via the radio). Same as [[doGetOut]] with latter being silent.  
| Orders one or multiple units to get out from the vehicle (via the radio). Same as [[doGetOut]] with latter being silent.  
Line 23: Line 23:
* 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]] - 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=
| '''commandGetOut''' units(s)


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


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


|x2= <code>[[commandGetOut]] [_unitOne,_unitTwo]</code> |EXAMPLE2=
|x2= <code>[[commandGetOut]] [_unitOne,_unitTwo]</code>


| 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.
| 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.


| [[doGetOut]], [[moveOut]], [[leaveVehicle]] |SEEALSO=
| [[doGetOut]], [[moveOut]], [[leaveVehicle]]


}}
}}

Revision as of 00:13, 18 January 2021

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.

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:
commandGetOut units(s)
Parameters:
unitName: Object or Array of Objects
Return Value:
Nothing

Examples

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

Additional Information

See also:
doGetOutmoveOutleaveVehicle

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

Bottom Section