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

vehicleName addWeaponTurret [weaponName, turretPath]

Operand types

vehicleName: Object
[weaponName, turretPath]: Array

Type of returned value

Description

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

vehicle: Object
[weaponName, turretPath]: Array
weaponName: String
turretPath: Array

Used In

Arma3

Example

_tank addWeaponTurret ["LMG_M200",[0,0]];

Advertisement