setUnloadInCombat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 22: Line 22:
|p4= allowTurrets: [[Boolean]]
|p4= allowTurrets: [[Boolean]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_veh [[setUnloadInCombat]] [<nowiki/>[[true]], [[false]]];</code>
|x1= <code>_veh [[setUnloadInCombat]] [<nowiki/>[[true]], [[false]]];</code>

Revision as of 11:19, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object
[allowCargo, allowTurrets]: Array
allowCargo: Boolean
allowTurrets: Boolean
Return Value:
Nothing

Examples

Example 1:
_veh setUnloadInCombat [true, false];

Additional Information

See also:
canUnloadInCombat

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