binocularItems: Difference between revisions
| Killzone Kid (talk | contribs) No edit summary | Killzone Kid (talk | contribs)  No edit summary | ||
| Line 21: | Line 21: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [[addBinocularItem]], [[removeBinocularItem]], [[removeAllBinocularItems]], [[binocularMagazine]], [[weaponAccessories]], [[weaponAccessoriesCargo]], [[primaryWeaponItems]], [[secondaryWeaponItems]], [[weaponsItems]], [[weaponsItemsCargo]]   |SEEALSO=   | | [[addBinocularItem]], [[removeBinocularItem]], [[removeAllBinocularItems]], [[binocularMagazine]], [[weaponAccessories]], [[weaponAccessoriesCargo]], [[primaryWeaponItems]], [[secondaryWeaponItems]], [[handgunItems]], [[weaponsItems]], [[weaponsItemsCargo]]   |SEEALSO=   | ||
| |  |MPBEHAVIOUR=   | |  |MPBEHAVIOUR=   | ||
Revision as of 21:48, 7 September 2020
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.
- Groups:
- Uncategorised
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
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 | BINOCULARITEMS]][[ Category: arma3dev: Scripting Commands | BINOCULARITEMS]]
