removeAllPrimaryWeaponItems: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "____________________________________________________________________________ ________________ " to "____________________________________________________________________________ ") |
Lou Montana (talk | contribs) (Add example) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________ | ____________________________________________________________________________ | ||
| Removes all items from weapon except magazine. | | Removes all items from weapon except magazine. |DESCRIPTION= | ||
____________________________________________________________________________ | ____________________________________________________________________________ | ||
| | | [[removeAllPrimaryWeaponItems]] unit |SYNTAX= | ||
Line 20: | Line 20: | ||
|x1= <code> | |x1= <code>[[removeAllPrimaryWeaponItems]] [[player]];</code> |EXAMPLE1= | ||
</code>|EXAMPLE1= | |||
____________________________________________________________________________ | ____________________________________________________________________________ | ||
| [[addPrimaryWeaponItem]], [[removePrimaryWeaponItem]] |SEEALSO= | | [[addPrimaryWeaponItem]], [[removePrimaryWeaponItem]] |SEEALSO= | ||
}} | }} | ||
Line 39: | Line 35: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 20:53, 5 January 2020
Description
- Description:
- Removes all items from weapon except magazine.
- Groups:
- Uncategorised
Syntax
- Syntax:
- removeAllPrimaryWeaponItems unit
- Parameters:
- unit: Object
- Return Value:
- Nothing
Examples
- Example 1:
removeAllPrimaryWeaponItems player;
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