orderGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(67 intermediate revisions by 14 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 getting in of vehicles to all units in the list. |= Description
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


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


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


|p2= order: [[Boolean]] |= Parameter 2
|game6= tkoh
|version6= 1.00


| [[Nothing]] |= Return value
|game7= arma3
____________________________________________________________________________________________
|version7= 0.50
 
|x1= <code>[unitOne, unitTwo] '''orderGetIn''' [[true]] </code> |= Example 1
____________________________________________________________________________________________


| |= See also
|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.}}


<h3 style="display:none">Notes</h3>
|s1= unitArray [[orderGetIn]] order
<dl class="command_description">
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on August 4, 2006 - 12:06</dd>
|p1= unitArray: [[Array]]
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''


Units must be assigned to a vehicle before this command will do anything. See these commands for more info on this:
|p2= order: [[Boolean]]
</dd>


<!-- Note Section END -->
|r1= [[Nothing]]
</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]]

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