gearSlotAmmoCount: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2oa * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= arma2oa |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
||
Line 26: | Line 26: | ||
|seealso= [[gearSlotData]], [[gearIDCAmmoCount]] | |seealso= [[gearSlotData]], [[gearIDCAmmoCount]] | ||
}} | }} | ||
Revision as of 22:39, 16 June 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