orderGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(One intermediate revision by the same user not shown)
Line 39: Line 39:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[_unitOne, _unitTwo] orderGetIn true</code>
|x1= <sqf>[_unitOne, _unitTwo] orderGetIn true;</sqf>


|x2= <code>[_unitOne, _unitTwo] orderGetIn false</code>
|x2= <sqf>[_unitOne, _unitTwo] orderGetIn false;</sqf>


|seealso= [[allowGetIn]] [[addVehicle]] [[assignAsCargo]] [[assignAsCommander]] [[assignAsDriver]] [[assignAsGunner]]
|seealso= [[allowGetIn]] [[addVehicle]] [[assignAsCargo]] [[assignAsCommander]] [[assignAsDriver]] [[assignAsGunner]]
}}
}}

Latest revision as of 23:43, 28 June 2022

Hover & click on the images for description

Description

Description:
Force all units in the array to get in or out of their assigned vehicles. Units must be assigned to a vehicle before this command will do anything.
See AI Group Vehicle Management for more information.
Groups:
Unit Control

Syntax

Syntax:
unitArray orderGetIn order
Parameters:
unitArray: Array
order: Boolean
Return Value:
Nothing

Examples

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

Additional Information

See also:
allowGetIn addVehicle assignAsCargo assignAsCommander assignAsDriver assignAsGunner

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