currentMagazineDetail

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Returns description of vehicle's currently loaded magazine, its ammo count (current/default) and its id.

Syntax

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

Examples

Example 1:
_currentMagazineDetail = currentMagazineDetail player; //"6.5mm 30Rnd STANAG Mag(30/30)[id:0]"
Example 2:
_currentMagazineDetail = currentMagazineDetail Mi_48; //"30mm HE Shells(250/250)[id:21]"
Example 3:
_cmd = currentMagazineDetail player; //"9mm 16Rnd Mag(13/16)[id/cr:10000011/0]" _cmd splitString "([ ]/:)"; //["9mm","16Rnd","Mag","13","16","id","cr","10000011","0"]

Additional Information

Multiplayer:
-
See also:
magazinesDetailcurrentMagazine

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section