Warning: file_put_contents(/ff_dc327a2b8ad0a8d0d10fb3bae5e88bc1696a7dc0918d52df.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
addMagazineTurret - OFPEC Scripting Command Reference | OFPEC The Editing Center

vehicle addMagazineTurret [magazineName, turretPath]

Operand types

vehicle: Object
[magazineName, turretPath]: Array

Type of returned value

Description

Adds a magazine to the turret.
Use turret path [-1] for driver's turret.

Note: you may create invalid combinations by using this function, for example by adding 20 grenades. When doing so, application behaviour is undefined.

Used In

Arma2OA

Example

_tank addMagazineTurret ["SmokeLauncherMag",[0,0]]

_tank addMagazineTurret ["20Rnd_120mmSABOT_M1A2",[0]]

Advertisement