removeAllSecondaryWeaponItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - " | arma3dev |2.01 " to " | arma3 |2.02 ")
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________


| arma3dev |Game name=
| arma3


|2.01|Game version=
|2.02


|arg= local |MPARGUMENTS=
|arg= local


|eff= global |MPeff=
|eff= global


|gr1= Unit Inventory |GROUP1=
|gr1= Unit Inventory
____________________________________________________________________________


| Removes all items from [[secondaryWeapon]], except magazine. |DESCRIPTION=
| Removes all items from [[secondaryWeapon]], except magazine.
____________________________________________________________________________


| [[removeAllSecondaryWeaponItems]] unit |SYNTAX=
| [[removeAllSecondaryWeaponItems]] unit


|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>[[removeAllSecondaryWeaponItems]] [[player]];</code> |EXAMPLE1=
|x1= <code>[[removeAllSecondaryWeaponItems]] [[player]];</code>
____________________________________________________________________________


| [[addSecondaryWeaponItem]], [[removeSecondaryWeaponItem]], [[removeAllPrimaryWeaponItems]], [[removeAllHandgunItems]], [[removeAllBinocularItems]] |SEEALSO=
|seealso= [[addSecondaryWeaponItem]], [[removeSecondaryWeaponItem]], [[removeAllPrimaryWeaponItems]], [[removeAllHandgunItems]], [[removeAllBinocularItems]]
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]

Revision as of 14:56, 23 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Inventory

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
Return Value:
Return value needed

Examples

Example 1:
removeAllSecondaryWeaponItems player;

Additional Information

See also:
addSecondaryWeaponItemremoveSecondaryWeaponItemremoveAllPrimaryWeaponItemsremoveAllHandgunItemsremoveAllBinocularItems

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