selectWeaponTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
m (format)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle '''selectWeaponTurret''' [weapon, turret path] |= Syntax
| vehicle '''selectWeaponTurret''' [weapon, turretPath] |= Syntax


|p1= vehicle: [[Object]]  |= PARAMETER1  
|p1= vehicle: [[Object]]  |= PARAMETER1  
|p2= [weapon, turret path]: [[Array]]  |= PARAMETER2  
|p2= [weapon, turretPath]: [[Array]]  |= PARAMETER2  
|p3= weapon: [[String]] |= PARAMETER3
|p3= weapon: [[String]] |= PARAMETER3
|p4= turret path: [[Array]] |= PARAMETER4
|p4= turretPath: [[Array]] |= PARAMETER4


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  

Revision as of 23:18, 7 May 2015

Hover & click on the images for description

Description

Description:
Selects the given weapon on specified turret. Use turret path [-1] for driver's turret.
Groups:
Uncategorised

Syntax

Syntax:
vehicle selectWeaponTurret [weapon, turretPath]
Parameters:
vehicle: Object
[weapon, turretPath]: Array
weapon: String
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