primaryWeaponItems

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

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

Syntax

Syntax:
primaryWeaponItems unit
Parameters:
unit: Object
Return Value:
Array

Examples

Example 1:
primaryWeaponItems player; /* [ "muzzle_snds_H", //silencer "acc_pointer_IR", //laser "optic_Aco" //optics ] */

Additional Information

Multiplayer:
-
See also:
addPrimaryWeaponItemremovePrimaryWeaponItemremoveAllPrimaryWeaponItemsweaponsItemshandgunItemssecondaryWeaponItemsweaponAccessories

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