gearSlotAmmoCount: 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 14: | Line 14: | ||
|p1= control: [[Control]] - CT_ITEMSLOT 103 | |p1= control: [[Control]] - CT_ITEMSLOT 103 | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>ammo = [[gearSlotAmmoCount]] _control;</code> | |x1= <code>ammo = [[gearSlotAmmoCount]] _control;</code> | ||
|[[gearSlotData]], [[gearIDCAmmoCount]] | |[[gearSlotData]], [[gearIDCAmmoCount]] |
Revision as of 17:18, 18 January 2021
Description
- Description:
- Returns ammo count of assigned magazine.
- Groups:
- Unit InventoryGUI Control
Syntax
- Syntax:
- gearSlotAmmoCount control
- Parameters:
- control: Control - CT_ITEMSLOT 103
- Return Value:
- Number
Examples
- Example 1:
ammo = gearSlotAmmoCount _control;
Additional Information
- See also:
- gearSlotDatagearIDCAmmoCount
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