selectWeaponTurret: Difference between revisions
Jump to navigation
Jump to search
m (format) |
Killzone Kid (talk | contribs) (now supports weapon name as well as muzzle name) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Selects the given weapon on specified turret. Use turret path [-1] for driver's turret. |= 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. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 14: | Line 14: | ||
|p1= vehicle: [[Object]] |= PARAMETER1 | |p1= vehicle: [[Object]] |= PARAMETER1 | ||
|p2= [weapon, turretPath]: [[Array]] |= PARAMETER2 | |p2= [weapon, turretPath]: [[Array]] |= PARAMETER2 | ||
|p3= weapon: [[String]] |= PARAMETER3 | |p3= weapon: [[String]] - weapon class name or muzzle class name |= PARAMETER3 | ||
|p4= turretPath: [[Array]] |= PARAMETER4 | |p4= turretPath: [[Array]] |= PARAMETER4 | ||
Revision as of 22:09, 15 June 2016
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