orderGetIn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>") |
||
(12 intermediate revisions by the same user not shown) | |||
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= | |s1= unitArray [[orderGetIn]] order | ||
|p1= unitArray: [[Array]] | |p1= unitArray: [[Array]] | ||
|p2= order: [[Boolean]] | |p2= order: [[Boolean]] | ||
|r1=[[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[_unitOne, _unitTwo] orderGetIn true;</sqf> | ||
|x2= < | |x2= <sqf>[_unitOne, _unitTwo] orderGetIn false;</sqf> | ||
|seealso= [[allowGetIn]] | |seealso= [[allowGetIn]] [[addVehicle]] [[assignAsCargo]] [[assignAsCommander]] [[assignAsDriver]] [[assignAsGunner]] | ||
}} | }} | ||
Latest revision as of 22:43, 28 June 2022
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:
- Example 2:
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