gearIDCAmmoCount: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) |
||
Line 24: | Line 24: | ||
|x1= <code>ammo = [[gearIDCAmmoCount]] _control;</code> | |x1= <code>ammo = [[gearIDCAmmoCount]] _control;</code> | ||
|seealso= [[gearSlotData]] | |seealso= [[gearSlotData]] [[gearSlotAmmoCount]] | ||
}} | }} |
Revision as of 15:53, 20 January 2022
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:
- gearSlotData gearSlotAmmoCount
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