gearIDCAmmoCount: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 14: Line 14:
|p1= idc: [[Number]] - idc of control type CT_ITEMSLOT 103 |=  
|p1= idc: [[Number]] - idc of control type CT_ITEMSLOT 103 |=  


| [[Number]] |= RETURNVALUE
| [[Number]] |RETURNVALUE=  




|x1= <code>ammo = [[gearIDCAmmoCount]] _control;</code>|= EXAMPLE1
|x1= <code>ammo = [[gearIDCAmmoCount]] _control;</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


|[[gearSlotData]], [[gearSlotAmmoCount]], [[setGearSlotAmmoCout]], [[setIDCAmmoCount]]  |= SEEALSO
|[[gearSlotData]], [[gearSlotAmmoCount]], [[setGearSlotAmmoCout]], [[setIDCAmmoCount]]  |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:31, 7 April 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