Warning: file_put_contents(/ff_ee35352bc432d92e4169ae745026aa1fe09771891acf7a99.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
handgunWeapon - OFPEC Scripting Command Reference | OFPEC The Editing Center

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.";
};

Advertisement