addBinocularItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "|gr1= Containers |GROUP1=" to "|gr1= Unit Inventory |GROUP1=")
Line 9: Line 9:
|eff= global |MPeff=
|eff= global |MPeff=


|gr1= Containers |GROUP1=
|gr1= Unit Inventory |GROUP1=
|gr2= Weapons |GROUP2=
|gr2= Weapons |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 14:52, 22 September 2020

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

Description

Description:
Adds weapon item, including magazine, directly to the binocular weapon. This is used for infantry weapons.
Groups:
Unit InventoryWeapons

Syntax

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

Examples

Example 1:
player addBinocularItem "Laserbatteries";

Additional Information

See also:
addWeaponItemremoveBinocularItemremoveAllBinocularItemsaddPrimaryWeaponItemaddSecondaryWeaponItemaddHandgunItemweaponsItemsbinocularItemsprimaryWeaponItemssecondaryWeaponItemshandgunItems

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 | ADDBINOCULARITEM]][[ Category: arma3dev: Scripting Commands | ADDBINOCULARITEM]]

Notes

Bottom Section