removeBinocularItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3dev |Game name=
| arma3dev


|2.01|Game version=
|2.01


|arg= local |MPARGUMENTS=
|arg= local |MPARGUMENTS=
|eff= global |MPeff=
|eff= global |MPeff=


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


| Removes given weapon item, including magazine, from the [[binocular]] weapon. |DESCRIPTION=
| Removes given weapon item, including magazine, from the [[binocular]] weapon.


| unit '''removeBinocularItem''' item |SYNTAX=
| unit '''removeBinocularItem''' item




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


|p2= item: [[String]] |PARAMETER2=
|p2= item: [[String]]


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




|x1= <code>[[player]] [[removeBinocularItem]] "Laserbatteries";</code>|EXAMPLE1=
|x1= <code>[[player]] [[removeBinocularItem]] "Laserbatteries";</code>




| [[addBinocularItem]], [[binocularItems]], [[removeAllBinocularItems]], [[removePrimaryWeaponItem]], [[removeSecondaryWeaponItem]], [[removeHandgunItem]] |SEEALSO=
| [[addBinocularItem]], [[binocularItems]], [[removeAllBinocularItems]], [[removePrimaryWeaponItem]], [[removeSecondaryWeaponItem]], [[removeHandgunItem]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 02:27, 18 January 2021

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 2.01|2.01]]
Hover & click on the images for description

Description

Description:
Removes given weapon item, including magazine, from the binocular weapon.
Groups:
Unit Inventory

Syntax

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

Examples

Example 1:
player removeBinocularItem "Laserbatteries";

Additional Information

See also:
addBinocularItembinocularItemsremoveAllBinocularItemsremovePrimaryWeaponItemremoveSecondaryWeaponItemremoveHandgunItem

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

[[Category:Introduced with arma3dev version 2.01]][[ Category: arma3dev: New Scripting Commands | REMOVEBINOCULARITEM]][[ Category: arma3dev: Scripting Commands | REMOVEBINOCULARITEM]]

Notes

Bottom Section