loadMagazine

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.60
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.60

Description

Description:
Initiates the loading action on given weapon of the turret of a transport. So the new magazine is not available instantly, yet according to the reloadTime. The turret has to be manned. One can also change the magazine if its respective weapon is not selected.

Syntax

Syntax:
transport loadMagazine [turretPath, weaponName, magazineName]
Parameters:
transport: Object
turretPath: Array
weaponName: String
magazineName: String
Return Value:
Nothing

Examples

Example 1:
vehicle player loadMagazine [[0],"m256","20Rnd_120mmHE_M1A2"];

Additional Information

Multiplayer:
-
See also:
magazinesTurretaddMagazineTurretreloadweaponStatesetWeaponReloadingTimeweaponsmagazinesSwitchMagazine

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