orderGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
Line 39: Line 39:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|x2= <sqf>[_unitOne, _unitTwo] orderGetIn false</sqf>
|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