currentMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
Line 39: Line 39:
</dl>
</dl>


{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 03:30, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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
Posted on October 4, 2010
kju
See notes of currentWeapon.