orderGetIn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
Lou Montana (talk | contribs) m (Add link to AI Group Vehicle Management) |
||
Line 29: | Line 29: | ||
|descr= 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. | |descr= 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. | ||
{{Feature|informative|See [[AI Group Vehicle Management]] for more information.}} | |||
|s1= unitArray [[orderGetIn]] order | |s1= unitArray [[orderGetIn]] order | ||
|p1= unitArray: [[Array]] | |p1= unitArray: [[Array]] | ||
|p2= order: [[Boolean]] | |p2= order: [[Boolean]] | ||
|r1=[[Nothing]] | |r1=[[Nothing]] | ||
|x1= <code>[_unitOne, _unitTwo] | |x1= <code>[_unitOne, _unitTwo] [[orderGetIn]] [[true]]</code> | ||
|x2= <code>[_unitOne, _unitTwo] | |x2= <code>[_unitOne, _unitTwo] [[orderGetIn]] [[false]]</code> | ||
|seealso= [[allowGetIn]], [[addVehicle]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]] | |seealso= [[allowGetIn]], [[addVehicle]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]] | ||
}} | }} | ||
Revision as of 23:29, 5 August 2021
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.
- 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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Unit Control
- Scripting Commands: Global Effect