setUnloadInCombat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 10: | Line 10: | ||
|gr1= Unit Control | |gr1= Unit Control | ||
| If cargo or turret units ''should'' get out of vehicle when in combat. If '''true''', vehicle will stop and units will dismount. Vehicle must be local. | |descr= If cargo or turret units ''should'' get out of vehicle when in combat. If '''true''', vehicle will stop and units will dismount. Vehicle must be local. | ||
|s1= vehicle [[setUnloadInCombat]] [allowCargo, allowTurrets] | |s1= vehicle [[setUnloadInCombat]] [allowCargo, allowTurrets] |
Revision as of 21:22, 13 June 2021
Description
- Description:
- If cargo or turret units should get out of vehicle when in combat. If true, vehicle will stop and units will dismount. Vehicle must be local.
- Groups:
- Unit Control
Syntax
- Syntax:
- vehicle setUnloadInCombat [allowCargo, allowTurrets]
- 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