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



Introduced in

Version:2.11

Description

Description:

Returns whether a unit weapon is currently on its back or holstered.

Only works, if the unit is standing. While moving, the command always returns false.

Syntax

Syntax:isWeaponOnBack unit
Parameters:
Return Value:Boolean - If true, then the weapon is on the back or holstered, false otherwise.

Examples

Examples:
if (isWeaponOnBack unit1) then {hint "get ready"}

Additional Information

See also: fn vbs weapon on back, fn vbs weapon on back condition, fn vbs equipAllowedWeapon
Multiplayer: 
Problems: 

Notes