primaryWeaponItems

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in 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:
addPrimaryWeaponItem, removePrimaryWeaponItem, removeAllPrimaryWeaponItems, weaponsItems, handgunItems, secondaryWeaponItems

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section