getMagazineCargo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.54
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.54

Description

Description:
Returns all magazines types and count from the cargo space

Syntax

Syntax:
result = getMagazineCargo object
Parameters:
object: Object - object to check
Return Value:
Array of arrays. [["5MagsType1","10MagsType2"],[5,10]]

Examples

Example 1:
_content = getMagazineCargo carName;
Example 2:
_content = getMagazineCargo ammoBoxName;
Example 3:
hint str getMagazineCargo unitBackpack cursorTarget;

Additional Information

Multiplayer:
-
See also:
magazineCargoaddMagazineCargoaddMagazineCargoGlobalclearMagazineCargoclearMagazineCargoGlobal

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