orderGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(61 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|version1= 1.00


|1.00|= Game version
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| 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. |= Description
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| unitArray '''orderGetIn''' order |= Syntax
|game4= arma2
|version4= 1.00


|p1= unitArray: [[Array]] |= Parameter 1
|game5= arma2oa
|p1= order: [[Boolean]] |= Parameter 1
|version5= 1.50


| [[Nothing]] |= Return value
|game6= tkoh
____________________________________________________________________________________________
|version6= 1.00
 
|x1= <code>[_unitOne, _unitTwo] '''orderGetIn''' [[true]] </code> |= Example 1
|x2= <code>[_unitOne, _unitTwo] '''orderGetIn''' [[false]] </code> |= Example 2
____________________________________________________________________________________________


| [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]] |= See also
|game7= arma3
|version7= 0.50


}}
|arg= local
 
|eff= global
 
|gr1= Unit Control
 
|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
 
|p1= unitArray: [[Array]]
 
|p2= order: [[Boolean]]


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>[_unitOne, _unitTwo] orderGetIn true;</sqf>


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


[[Category:Scripting Commands|ORDERGETIN]]
|seealso= [[allowGetIn]] [[addVehicle]] [[assignAsCargo]] [[assignAsCommander]] [[assignAsDriver]] [[assignAsGunner]]
[[Category:Scripting Commands OFP 1.96|ORDERGETIN]]
}}
[[Category:Scripting Commands OFP 1.46|ORDERGETIN]]
[[Category:Scripting Commands ArmA|ORDERGETIN]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22: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