removeWeaponTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Undo revision 90124 by Cervantes (talk) malformed note)
Line 43: Line 43:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
removeweaponturret remove also a proxy of turret gunner.
and c'ant restore it with addweaponturret.

Revision as of 00:51, 21 June 2015

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