removeMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
Line 46: Line 46:
[[Category:Scripting Commands OFP 1.46|REMOVEMAGAZINE]]
[[Category:Scripting Commands OFP 1.46|REMOVEMAGAZINE]]
[[Category:Scripting Commands Armed Assault|REMOVEMAGAZINE]]
[[Category:Scripting Commands Armed Assault|REMOVEMAGAZINE]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 2|{{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}}}}]]

Revision as of 16:14, 27 September 2020

Hover & click on the images for description

Description

Description:
Remove magazine from the unit.
Note: You may create invalid combinations with this function. When doing so, application behaviour is undefined.
Groups:
WeaponsUnit Inventory

Syntax

Syntax:
unitName removeMagazine magazineName
Parameters:
unitName: Object
magazineName: String - see weapons
Return Value:
Nothing

Examples

Example 1:
player removeMagazine "M16"

Additional Information

See also:
removeMagazinesremoveWeaponremoveMagazinesTurretremoveMagazineTurretsetVehicleAmmo

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