gearIDCAmmoCount: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:


| Returns ammo count of assigned magazine. |DESCRIPTION=
| Returns ammo count of assigned magazine. |DESCRIPTION=
|gr1= Unit Inventory |GROUP1=
|gr2= Weapons |GROUP2=
|gr3= GUI Control |GROUP3=
____________________________________________________________________________________________
____________________________________________________________________________________________



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:
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

Notes

Bottom Section