addPrimaryWeaponItem: Difference between revisions

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




|x1= <code>
|x1= <code>player [[addPrimaryWeaponItem]] "muzzle_snds_H";
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= SEEALSO  
| [[addSecondaryWeaponItem]], [[addHandgunItem]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 17:30, 10 August 2013

Hover & click on the images for description

Description

Description:
Adds item to the weapon cargo space. This is used for infantry weapons.
Groups:
Uncategorised

Syntax

Syntax:
unit addPrimaryWeaponItem item
Parameters:
unit: Object
item: String
Return Value:
Nothing

Examples

Example 1:
player addPrimaryWeaponItem "muzzle_snds_H";

Additional Information

See also:
addSecondaryWeaponItemaddHandgunItem

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