gearIDCAmmoCount: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "|= Game name" to "|Game name=")
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma2oa |= Game name
| arma2oa |Game name=


|1.62|= Game version <!-- First mentioned in TOH patch notes. -->
|1.62|= Game version <!-- First mentioned in TOH patch notes. -->

Revision as of 21:22, 31 August 2019

Hover & click on the images for description

Description

Description:
Returns ammo count of assigned magazine.
Groups:
Uncategorised

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

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