handgunWeapon unitName

Operand types

unitName: Object

Type of returned value

Description

Returns the name of a unit's handgun (an empty string if there is none).

Used In

Arma3

Example

handgunWeapon player;

if ((handgunWeapon loon1) == "") then {
hint "This loon has no pistol.";
};
Search OFPEC COMREF