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 - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2oa | | arma2oa | ||
|1.62|Game version= <!-- First mentioned in TOH patch notes. --> | |1.62|Game version= <!-- First mentioned in TOH patch notes. --> | ||
| Returns ammo count of assigned magazine. | | Returns ammo count of assigned magazine. | ||
|gr1= Unit Inventory | |gr1= Unit Inventory | ||
|gr2= GUI Control | |gr2= GUI Control | ||
| [[gearIDCAmmoCount]] idc | | [[gearIDCAmmoCount]] idc | ||
|p1= idc: [[Number]] - idc of control type CT_ITEMSLOT 103 | |p1= idc: [[Number]] - idc of control type CT_ITEMSLOT 103 | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>ammo = [[gearIDCAmmoCount]] _control;</code> | |x1= <code>ammo = [[gearIDCAmmoCount]] _control;</code> | ||
|[[gearSlotData]], [[gearSlotAmmoCount]] | |[[gearSlotData]], [[gearSlotAmmoCount]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:33, 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