orderGetIn: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
mNo edit summary
 
Line 33: Line 33:
|s1= unitArray [[orderGetIn]] order
|s1= unitArray [[orderGetIn]] order


|p1= unitArray: [[Array]]
|p1= unitArray: [[Array]] of [[Object]]s


|p2= order: [[Boolean]]
|p2= order: [[Boolean]]

Latest revision as of 11:31, 1 January 2026

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 of Objects
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.
Only post proven facts here! Add Note