gearSlotAmmoCount: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 15: Line 15:




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




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


____________________________________________________________________________________________
____________________________________________________________________________________________


|[[gearSlotData]], [[gearIDCAmmoCount]], [[setGearSlotAmmoCout]], [[setIDCAmmoCount]]  |= SEEALSO
|[[gearSlotData]], [[gearIDCAmmoCount]], [[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:
gearSlotAmmoCount control
Parameters:
control: Control - CT_ITEMSLOT 103
Return Value:
Number

Examples

Example 1:
ammo = gearSlotAmmoCount _control;

Additional Information

See also:
gearSlotDatagearIDCAmmoCountsetGearSlotAmmoCoutsetIDCAmmoCount

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