removeWeaponTurret

From Bohemia Interactive Community
Revision as of 23:58, 20 June 2015 by Cervantes (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Removes weapon from the turret. Use turret path [-1] for driver's turret.
Groups:
Uncategorised

Syntax

Syntax:
vehicle removeWeaponTurret [weaponName, turretPath]
Parameters:
vehicle: Object
[weaponName, turretPath]: Array
weaponName: String
turretPath: Array
Return Value:
Nothing

Examples

Example 1:
_tank removeWeaponTurret ["LMG_M200",[0,0]];
Example 2:
vehicle player removeWeaponTurret ["SportCarHorn",[-1]];

Additional Information

See also:
addWeaponTurretturretLocaladdMagazineTurretmagazinesTurretremoveMagazinesTurretremoveMagazineTurretweaponsTurretcurrentMagazineDetailTurretcurrentMagazineTurretcurrentWeaponTurretselectWeaponTurret

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section



removeweaponturret remove also a proxy of turret gunner.

and c'ant restore it with addweaponturret.