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



Introduced in

Version:2.21

Description

Description:Returns the movement limits for weapons, controlled using deployWeapon.

Syntax

Syntax:getDeployedWeaponLimits unit
Parameters:
  • unit: Object - Unit with deployed weapon.
Return Value:Array - [left, right, up, down]: Deployed weapon limits, as set by setDeployedWeaponLimits (default: [0,0,0,0]).

Examples

Examples:
_limits = getDeployedWeaponLimits player

Additional Information

See also: setDeployedWeaponLimits
Multiplayer: 
Problems: 

Notes