Difference between revisions of "removeSecondaryWeaponItem"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) |
||
Line 21: | Line 21: | ||
|x1= <code>[[player]] [[removeSecondaryWeaponItem]] ([[secondaryWeaponItems]] [[player]] [[select]] 0);</code> | |x1= <code>[[player]] [[removeSecondaryWeaponItem]] ([[secondaryWeaponItems]] [[player]] [[select]] 0);</code> | ||
− | |seealso= [[addSecondaryWeaponItem]] [[removePrimaryWeaponItem]] | + | |seealso= [[addSecondaryWeaponItem]] [[removePrimaryWeaponItem]] [[removeHandgunItem]], [[removeBinocularItem]] |
}} | }} |
Revision as of 18:40, 20 January 2022
Description
- Description:
- Removes given weapon item, including magazine, from the secondaryWeapon.
- Groups:
- Unit Inventory
Syntax
- Syntax:
- unit removeSecondaryWeaponItem item
- Parameters:
- unit: Object
- item: String
- Return Value:
- Nothing
Examples
- Example 1:
player removeSecondaryWeaponItem (secondaryWeaponItems player select 0);
Additional Information
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