currentMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
m (Text replacement - "\|" to "|")
Line 23: Line 23:
|p1= vehicle: [[Object]] - unit or vehicle
|p1= vehicle: [[Object]] - unit or vehicle


\|r1= [[String]]
|r1= [[String]]


\|x1= <code>_magazineClass = [[currentMagazine]] [[player]];//Example: "30Rnd_545x39_AK"</code>
|x1= <code>_magazineClass = [[currentMagazine]] [[player]];//Example: "30Rnd_545x39_AK"</code>


|seealso= [[magazines]], [[currentMagazineDetail]], [[currentWeapon]], [[currentMuzzle]], [[currentVisionMode]], [[currentWeaponMode]], [[currentZeroing]], [[magazinesTurret]], [[weaponsTurret]]
|seealso= [[magazines]], [[currentMagazineDetail]], [[currentWeapon]], [[currentMuzzle]], [[currentVisionMode]], [[currentWeaponMode]], [[currentZeroing]], [[magazinesTurret]], [[weaponsTurret]]

Revision as of 11:32, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit InventoryVehicle Inventory

Syntax

Syntax:
Syntax needed
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.