Warning: file_put_contents(/ff_84d1c2752389eb7cb8e3f1ca8557e4fa7c4957b125f4ce50.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