removeMagazineTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:ArmA 2 OA: New Scripting Commands List" to "[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List")
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
Line 43: Line 43:


[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 15:44, 10 January 2020

Hover & click on the images for description

Description

Description:
Removes the magazine from the turret. Use turret path [-1] for driver's turret. Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.
Groups:
Uncategorised

Syntax

Syntax:
vehicle removeMagazineTurret [magazineName, turretPath]
Parameters:
vehicle: Object
[weaponName, turretPath]: Array
magazineName: String
turretPath: Array
Return Value:
Nothing

Examples

Example 1:
vehicle player removeMagazineTurret ["60rnd_cmflaremagazine",[-1]]
Example 2:
_tank removeMagazineTurret ["20Rnd_120mmSABOT_M1A2",[0]]

Additional Information

See also:
addMagazineTurretmagazinesTurretremoveMagazinesTurretweaponsTurretaddWeaponTurretremoveWeaponTurretturretLocal

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