removeBinocularItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________


| arma3dev |Game name=
| arma3dev |Game name=
Line 10: Line 9:


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


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


| unit '''removeBinocularItem''' item |SYNTAX=
| unit '''removeBinocularItem''' item |SYNTAX=
Line 27: Line 24:
|x1= <code>[[player]] [[removeBinocularItem]] "Laserbatteries";</code>|EXAMPLE1=  
|x1= <code>[[player]] [[removeBinocularItem]] "Laserbatteries";</code>|EXAMPLE1=  


____________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________
}}
}}



Revision as of 03:12, 17 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