gearSlotAmmoCount: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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]], [[setGearSlotAmmoCout]], [[setIDCAmmoCount]]  |SEEALSO=  
|[[gearSlotData]], [[gearIDCAmmoCount]]  |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 13:53, 24 September 2020

Hover & click on the images for description

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