currentMagazine

From Bohemia Interactive Community
Revision as of 11:29, 18 January 2021 by Lou Montana (talk | contribs) (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns class name of currently loaded vehicle's / unit's magazine.
Groups:
Unit InventoryVehicle Inventory

Syntax

Syntax:
currentMagazine vehicle
Parameters:
vehicle: Object - unit or vehicle
Return Value:
String

Examples

Example 1:
_magazineClass = currentMagazine player;//Example: "30Rnd_545x39_AK"

Additional Information

See also:
magazinescurrentMagazineDetailcurrentWeaponcurrentMuzzlecurrentVisionModecurrentWeaponModecurrentZeroingmagazinesTurretweaponsTurret

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

Posted on October 4, 2010
kju
See notes of currentWeapon.

Bottom Section