orderGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
Line 39: Line 39:


<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dd class="notedate">Posted on 8 May, 2014 - 18:59</dd>
<dd class="notedate">Posted on 8 May, 2014 - 18:59</dd>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>

Revision as of 21:43, 5 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
Syntax needed
Parameters:
unitArray: Array
order: Boolean
Return Value:
Return value needed

Examples

Example 1:
[_unitOne, _unitTwo] orderGetIn true
Example 2:
[_unitOne, _unitTwo] orderGetIn false

Additional Information

See also:
allowGetInaddVehicleassignAsCargoassignAsCommanderassignAsDriverassignAsGunner

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
Posted on 8 May, 2014 - 18:59
ffur2007slx2_5
Arma 3 logo black.png1.18 Here's a quick reference to unit's embarkation and disembarkation.
Command Remote Control Behavior Role Unassigning
orderGetIn false orderGetIn won't take effect on player controlled AI units. It needs to be used together with assignAsXXX command family. Generally speaking, orderGetIn is a Role Executor. When orderGetIn is set false, it won't unassign unit's vehicle role but will force the unit to get out of the vehicle and stop him re-entering until set true again. orderGetIn false won't stop short an unit on the way to enter the vehicle in the but unassignVehicle will do. orderGetIn false will wait to fire until the unit enter a vehicle.
allowGetIn false allowGetIn won't take effect on player controlled AI units. Different from orderGetIn, this command is a Role Holder, it can control the unit's movement in the half way set by orderGetIn but not by setWaypointType, unit will be forced to get out from a vehicle by allowGetIn false and won't automatically re-enter the vehicle until allowGetIn true allowGetIn won't do anything with unit's vehicle role
doGetOut true Works on player controlled ai silently, unit will automatically get back to the vehicle after disembarkation. (Unit won't get out until vehicle is stopped or landed) false
commandGetOut true Same as doGetOut with radio message. (Unit won't get out until vehicle is stopped or landed) false
leaveVehicle false leaveVehicle can't force a player controlled AI disembark true
action ["GetOut",_veh] true Eject immediately without parachute false
action ["Eject",_veh] true Eject immediately with parachute if needed false
setWaypointType "GETIN" false Waypoint won't be affected by orderGetIn false or allowGetIn false until the unit is on the vehicle. N/A