setUnloadInCombat: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.36 | |1.36 | ||
|arg= local | |arg= local | ||
|eff= global | |eff= global | ||
|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. | | 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. | ||
| vehicle [[setUnloadInCombat]] [allowCargo, allowTurrets] | | vehicle [[setUnloadInCombat]] [allowCargo, allowTurrets] | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
|p2=[allowCargo, allowTurrets]: [[Array]] | |p2=[allowCargo, allowTurrets]: [[Array]] | ||
|p3= allowCargo: [[Boolean]] | |p3= allowCargo: [[Boolean]] | ||
|p4= allowTurrets: [[Boolean]] | |p4= allowTurrets: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_veh [[setUnloadInCombat]] [<nowiki/>[[true]], [[false]]];</code> | |x1= <code>_veh [[setUnloadInCombat]] [<nowiki/>[[true]], [[false]]];</code> | ||
| [[canUnloadInCombat]] | | [[canUnloadInCombat]] | ||
}} | }} |
Revision as of 11:08, 18 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