setUnloadInCombat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 10: | Line 9: | ||
|gr1= Unit Control |GROUP1= | |gr1= Unit Control |GROUP1= | ||
| 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. |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. |DESCRIPTION= | ||
| vehicle [[setUnloadInCombat]] [allowCargo, allowTurrets] |SYNTAX= | | vehicle [[setUnloadInCombat]] [allowCargo, allowTurrets] |SYNTAX= | ||
Line 26: | Line 23: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_veh [[setUnloadInCombat]] [<nowiki/>[[true]], [[false]]];</code> |EXAMPLE1= | |x1= <code>_veh [[setUnloadInCombat]] [<nowiki/>[[true]], [[false]]];</code> |EXAMPLE1= | ||
| [[canUnloadInCombat]]|SEEALSO= | | [[canUnloadInCombat]]|SEEALSO= |
Revision as of 03:51, 17 January 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