allowGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(53 intermediate revisions by 7 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= global |= Arguments in MP
|game3= arma1
|version3= 1.00


|eff= global |= Effects in MP
|game4= arma2
____________________________________________________________________________________________
|version4= 1.00


| Set if the units given in the list are allowed to enter vehicles. |= Description
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| unitArray '''allowGetIn''' allow |= Syntax
|game6= tkoh
|version6= 1.00


|p1= unitArray: [[Array]] of units |= Parameter 1
|game7= arma3
|version7= 0.50


|p2= allow: [[Boolean]] - true allows the units to enter, false denies them |= Parameter 2
|arg= global


| [[Nothing]] |= Return value
|eff= global
____________________________________________________________________________________________
 
|x1= <pre>[_soldier1, _soldier2] allowGetin true</pre> |= Example 1
____________________________________________________________________________________________


| [[orderGetIn]] |= See also
|gr1= Object Manipulation


}}
|gr2= Unit Control
 
|descr= Set if the units given in the list are allowed to enter vehicles.
{{Feature|informative|See [[AI Group Vehicle Management]] for more information.}}
 
|s1= unitArray [[allowGetIn]] allow
 
|p1= unitArray: [[Array]] of [[Object]]s


<h3 style="display:none">Notes</h3>
|p2= allow: [[Boolean]] - [[true]] allows the [[units]] to enter, [[false]] denies them
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|r1= [[Nothing]]
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>[_soldier1, _soldier2] allowGetIn true;</sqf>


[[Category:Scripting Commands|ALLOWGETIN]]
|seealso= [[orderGetIn]]
[[Category:Scripting Commands OFP 1.96|ALLOWGETIN]]
}}
[[Category:Scripting Commands OFP 1.46|ALLOWGETIN]]
[[Category:Scripting Commands ArmA|ALLOWGETIN]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:21, 13 May 2022

Hover & click on the images for description

Description

Description:
Set if the units given in the list are allowed to enter vehicles.
See AI Group Vehicle Management for more information.
Groups:
Object ManipulationUnit Control

Syntax

Syntax:
unitArray allowGetIn allow
Parameters:
unitArray: Array of Objects
allow: Boolean - true allows the units to enter, false denies them
Return Value:
Nothing

Examples

Example 1:
[_soldier1, _soldier2] allowGetIn true;

Additional Information

See also:
orderGetIn

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