allowGetIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ALLOWGETIN]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|ALLOWGETIN]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|ALLOWGETIN]]
 
[[Category:Scripting Commands ArmA|ALLOWGETIN]]
| ofp |= Game name
 
|1.00|= Game version


|arg= global |= Arguments in MP


<h2 style="color:#000066">'''''unitArray'' allowGetIn ''allow'''''</h2>
|eff= global |= Effects in MP
____________________________________________________________________________________________


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


'''Operand types:'''
| unitArray '''allowGetIn''' allow |= Syntax


'''unitArray:''' [[Array]]
|p1= unitArray: [[Type Array]] - array with elements of type [[Object]] |= Parameter 1


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


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[soldier1, soldier2] allowGetin true</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
| [[orderGetIn]] |= See also


'''Description:'''
}}


Allow getting in vehicles to all units in the list.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>


[unitOne, unitTwo] '''allowGetIn''' [[false]]
[[Category:Scripting Commands|ALLOWGETIN]]
[[Category:Scripting Commands OFP 1.96|ALLOWGETIN]]
[[Category:Scripting Commands OFP 1.46|ALLOWGETIN]]
[[Category:Scripting Commands ArmA|ALLOWGETIN]]

Revision as of 21:59, 1 August 2006

Hover & click on the images for description

Description

Description:
Set if the units given in the list are allowed to enter vehicles.
Groups:
Uncategorised

Syntax

Syntax:
unitArray allowGetIn allow
Parameters:
unitArray: Type Array - array with elements of type Object
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

Notes

Bottom Section