handgunItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Get array with all items assigned to a weapon. |= Description
| Returns array with all items assigned to the handgun. This command is used for infantry weapons only. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 17:




|x1= <code> '''handgunItems''' player;
|x1= <code>[[handgunItems]] player;  
/*
[
"muzzle_snds_L", //silencer
"", //laser
"" //optics
]
<nowiki>*/</nowiki>
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addHandgunItem]] |= SEEALSO  
| [[addHandgunItem]], [[removeAllHandgunItems]], [[weaponsItems]], [[primaryWeaponItems]], [[secondaryWeaponItems]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 17:51, 10 August 2013

Hover & click on the images for description

Description

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

Syntax

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

Examples

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

Additional Information

See also:
addHandgunItemremoveAllHandgunItemsweaponsItemsprimaryWeaponItemssecondaryWeaponItems

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section