setUnloadInCombat

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.36
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.36

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.

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

Multiplayer:
-
See also:
canUnloadInCombat

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section