removeBinocularItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - " {3,}\|" to " |")
Line 13: Line 13:


| unit '''removeBinocularItem''' item
| unit '''removeBinocularItem''' item


|p1= unit: [[Object]]
|p1= unit: [[Object]]
Line 20: Line 19:


| [[Nothing]]
| [[Nothing]]


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


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

Revision as of 18:58, 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]]