allowGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 41: Line 41:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[_soldier1, _soldier2] allowGetIn [[true]];</code>
|x1= <code>[_soldier1, _soldier2] allowGetIn true;</code>


|seealso= [[orderGetIn]]
|seealso= [[orderGetIn]]
}}
}}

Revision as of 11:02, 12 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