removeWeaponTurret: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
Lou Montana (talk | contribs) m (Add A2OA EOL) |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma2oa |Game name= | ||
|1.32| | |1.64|Game version= | ||
|game2= arma3 |Game2 name= | |||
|version2=1.32|Game2 version= | |||
|arg= local |Multiplayer Arguments= | |arg= local |Multiplayer Arguments= | ||
Line 14: | Line 18: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle | | vehicle [[removeWeaponTurret]] [weaponName, turretPath] |SYNTAX= | ||
|p1= vehicle: [[Object]] |PARAMETER1= | |p1= vehicle: [[Object]] |PARAMETER1= | ||
Line 24: | Line 28: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_tank [[removeWeaponTurret]] ["LMG_M200",[0,0]];</code> |EXAMPLE1= | |x1= <code>_tank [[removeWeaponTurret]] ["LMG_M200", [0,0]];</code> |EXAMPLE1= | ||
|x2= <code>[[vehicle]] [[player]] [[removeWeaponTurret]] ["SportCarHorn",[-1]];</code> |EXAMPLE2= | |||
|x2= <code>[[vehicle]] [[player]] [[removeWeaponTurret]] ["SportCarHorn", [-1]];</code> |EXAMPLE2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addWeaponTurret]], [[turretLocal]], [[addMagazineTurret]], [[magazinesTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[currentMagazineDetailTurret]], [[currentMagazineTurret]], [[currentWeaponTurret]], [[selectWeaponTurret]] |SEEALSO= | | [[addWeaponTurret]], [[turretLocal]], [[addMagazineTurret]], [[magazinesTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weaponsTurret]], [[currentMagazineDetailTurret]], [[currentMagazineTurret]], [[currentWeaponTurret]], [[selectWeaponTurret]] |SEEALSO= | ||
}} | }} | ||
Revision as of 12:54, 19 September 2019
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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.64
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Arma 3: New Scripting Commands List
- Scripting Commands Arma 3