handgunItems

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Returns array with all items assigned to the handgun. This command is used for infantry weapons only.

Syntax

Syntax:
handgunItems unit
Parameters:
unit: Object
Return Value:
Array - [silencer, laserpointer/flashlight, optics, bipod]

Examples

Example 1:
handgunItems player; /* [ "muzzle_snds_L", //silencer "", //laser "", //optics "" //bipod ] */

Additional Information

Multiplayer:
-
See also:
addHandgunItemremoveHandgunItemremoveAllHandgunItemsweaponAccessoriesweaponAccessoriesCargoprimaryWeaponItemssecondaryWeaponItemsweaponsItemsweaponsItemsCargo

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section