binocularItems

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 2.012.01DEV BRANCH ONLY ⚠Arguments of this scripting command don't have to be local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:
Returns array with all items assigned to the binocular weapon except magazines. Use binocularMagazine command for the latter. This command is used for infantry weapons only.

Syntax

Syntax:
binocularItems unit
Parameters:
unit: Object
Return Value:
Array - [silencer, laserpointer/flashlight, optics, bipod]

Examples

Example 1:
binocularItems player;

Additional Information

See also:
addBinocularItemremoveBinocularItemremoveAllBinocularItemsbinocularMagazineweaponAccessoriesweaponAccessoriesCargoprimaryWeaponItemssecondaryWeaponItemshandgunItemsweaponsItemsweaponsItemsCargo
Groups:
Unit Inventory

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section