binocularMagazine

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:
Collects all loaded magazines from all binocular muzzles and returns them in Array, otherwise it returns []. This command is used for infantry weapons only.

Syntax

Syntax:
binocularMagazine unit
Parameters:
unit: Object
Return Value:
Array

Examples

Example 1:
hint str binocularMagazine player; //["Laserbatteries"]

Additional Information

See also:
binocularItemsaddBinocularItemremoveBinocularItemremoveAllBinocularItemsprimaryWeaponMagazinesecondaryWeaponMagazinehandgunMagazine
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