allowGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(65 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|A]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.97|A]]
[[Category:Scripting Commands OFP 1.46|A]]
[[Category:Scripting Commands ArmA|A]]


back to [[Scripting_Reference#A|COMREF]]
|game1= ofp
|version1= 1.00


<h2 style="color:#000066">'''''unitArray'' allowGetIn ''allow'''''</h2>
|game2= ofpe
|version2= 1.00


|game3= arma1
|version3= 1.00


'''Operand types:'''
|game4= arma2
|version4= 1.00


'''unitArray:''' [[Array]]
|game5= arma2oa
|version5= 1.50


'''allow:''' [[Boolean]]
|game6= tkoh
|version6= 1.00


'''Type of returned value:'''
|game7= arma3
|version7= 0.50


[[Nothing]]
|arg= global


'''Description:'''
|eff= global


Allow getting in vehicles to all units in the list.
|gr1= Object Manipulation


|gr2= Unit Control


'''Example:'''
|descr= Set if the units given in the list are allowed to enter vehicles.
{{Feature|informative|See [[AI Group Vehicle Management]] for more information.}}


[unitOne, unitTwo] '''allowGetIn''' [[false]]
|s1= unitArray [[allowGetIn]] allow
 
|p1= unitArray: [[Array]] of [[Object]]s
 
|p2= allow: [[Boolean]] - [[true]] allows the [[units]] to enter, [[false]] denies them
 
|r1= [[Nothing]]
 
|x1= <sqf>[_soldier1, _soldier2] allowGetIn true;</sqf>
 
|seealso= [[orderGetIn]]
}}

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