orderGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(note, AL Local & EG Global added)
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(54 intermediate revisions by 6 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


|arg= local |= Arguments in MP
|game3= arma1
|version3= 1.00


|eff= global |= Effects in MP
|game4= arma2
____________________________________________________________________________________________
|version4= 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
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| unitArray '''orderGetIn''' order |= Syntax
|game6= tkoh
|version6= 1.00


|p1= unitArray: [[Array]] |= Parameter 1
|game7= arma3
|p2= order: [[Boolean]] |= Parameter 2
|version7= 0.50


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


| [[allowGetIn]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]] |= See also
|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 -->
<dd class="notedate">Posted on 6 May, 2014 21:31
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]<dd class="note">
in arma3 1.18, [[orderGetIn]] only takes effect on AI who isn’t subordinated to player units.
<!-- 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}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{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