gearIDCAmmoCount
Jump to navigation
Jump to search
Description
- Description:
- Returns ammo count of assigned magazine.
- Groups:
- Unit InventoryWeaponsGUI Control
Syntax
- Syntax:
- gearIDCAmmoCount idc
- Parameters:
- idc: Number - idc of control type CT_ITEMSLOT 103
- Return Value:
- Number
Examples
- Example 1:
ammo = gearIDCAmmoCount _control;
Additional Information
- See also:
- gearSlotDatagearSlotAmmoCount
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.62
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Unit Inventory
- Command Group: Weapons
- Command Group: GUI Control
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters