Arma 3 Scripting

Command in Unit Inventory

binocularItems

Also available as Markdown and JSON, or read the original wiki page.

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

binocularItems unit

Parameters:

Returns: Array with [silencer, pointer, optic, bipod]

Examples

Example 1

binocularItems player;

See also

addBinocularItem · removeBinocularItem · removeAllBinocularItems · binocularMagazine · weaponAccessories · weaponAccessoriesCargo · primaryWeaponItems · secondaryWeaponItems · handgunItems · weaponsItems · weaponsItemsCargo