removeAllHandgunItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|arg= local |= " to "|arg= local |MPARGUMENTS= ")
(Add example)
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________
____________________________________________________________________________
________________


| arma3 |Game name=
| arma3 |Game name=


|0.70|Game version=
|0.70|Game version=
|arg= local |MPARGUMENTS=
|arg= local |MPARGUMENTS=
|eff= global |MPeff=
|eff= global |MPeff=
____________________________________________________________________________
____________________________________________________________________________
________________


| Removes all items from weapon except magazine.  |DESCRIPTION=
| Removes all items from weapon except magazine.  |DESCRIPTION=
____________________________________________________________________________
____________________________________________________________________________


________________
| [[removeAllHandgunItems]] unit |SYNTAX=
 
| '''removeAllHandgunItems''' unit |SYNTAX=
 


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


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


 
|x1= <code>[[removeAllHandgunItems]] [[player]];</code> |EXAMPLE1=
|x1= <code>
</code>|EXAMPLE1=
 
____________________________________________________________________________
 
________________
 
| [[addHandgunItem]], [[removeHandgunItem]] |SEEALSO=
 
|  |MPBEHAVIOUR=  
____________________________________________________________________________
____________________________________________________________________________


________________
| [[addHandgunItem]], [[removeHandgunItem]] |SEEALSO=
}}
}}


Line 49: Line 34:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 20:49, 5 January 2020

Hover & click on the images for description

Description

Description:
Removes all items from weapon except magazine.
Groups:
Uncategorised

Syntax

Syntax:
removeAllHandgunItems unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
removeAllHandgunItems player;

Additional Information

See also:
addHandgunItemremoveHandgunItem

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