gearIDCAmmoCount: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\| * )+\}\}" to "}}") |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 16: | Line 16: | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>ammo = [[gearIDCAmmoCount]] _control;</code> | |x1= <code>ammo = [[gearIDCAmmoCount]] _control;</code> | ||
|[[gearSlotData]], [[gearSlotAmmoCount]] | |[[gearSlotData]], [[gearSlotAmmoCount]] |
Revision as of 17:25, 18 January 2021
Description
- Description:
- Returns ammo count of assigned magazine.
- Groups:
- Unit InventoryGUI 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