selectWeaponTurret

From Bohemia Interactive Community
Revision as of 22:09, 15 June 2016 by Killzone Kid (talk | contribs) (now supports weapon name as well as muzzle name)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Selects the given weapon on specified turret. Use turret path [-1] for driver's turret. Since ver. 1.63.136864 this command supports both weapon name and muzzle name.
Groups:
Uncategorised

Syntax

Syntax:
vehicle selectWeaponTurret [weapon, turretPath]
Parameters:
vehicle: Object
[weapon, turretPath]: Array
weapon: String - weapon class name or muzzle class name
turretPath: Array
Return Value:
Nothing

Examples

Example 1:
MBT_Kuma selectWeaponTurret ["LMG_coax",[0]];

Additional Information

See also:
removeWeaponTurretturretLocaladdMagazineTurretmagazinesTurretremoveMagazinesTurretremoveMagazineTurretweaponsTurretcurrentMagazineDetailTurretcurrentMagazineTurretcurrentWeaponTurretaddWeaponTurret

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