Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:3.2

Description

Description:Returns gunner input mode, as set by disableGunnerInput.

Syntax

Syntax:getGunnerInputStatus [vehicle, turret]
Parameters:
  • vehicle: Object - Vehicle with turrets.
  • turret: Array - Turret path.
Return Value:Array - [disabled, notstabilized] - For return values, see disableGunnerInput.

Alternative Syntax

Syntax:getGunnerInputStatus unit
Parameters:
Return Value:Number - Mode (see disableGunnerInput).

Examples

Examples:
_vehStatus = getGunnerInputStatus [tank1, [0]]
_unitStatus = getGunnerInputStatus soldier1

Additional Information

See also: disableGunnerInput
Multiplayer: 
Problems: 

Notes