gearSlotAmmoCount: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") | mNo edit summary | ||
| Line 5: | Line 5: | ||
| |1.62|Game version= <!-- First mentioned in TOH patch notes. --> | |1.62|Game version= <!-- First mentioned in TOH patch notes. --> | ||
| |gr1= Unit Inventory |GROUP1= | |||
| |gr2= Weapons |GROUP2= | |||
| |gr3= GUI Control |GROUP3= | |||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Line 22: | Line 28: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |[[gearSlotData]], [[gearIDCAmmoCount | |[[gearSlotData]], [[gearIDCAmmoCount]]  |SEEALSO=   | ||
| |  |MPBEHAVIOUR=   | |  |MPBEHAVIOUR=   | ||
Revision as of 12:53, 24 September 2020
Description
- Description:
- Returns ammo count of assigned magazine.
- Groups:
- Unit InventoryWeaponsGUI 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
Notes
Bottom Section
Categories: 
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.62
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Unit Inventory
- Command Group: Weapons
- Command Group: GUI Control
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
 
	