removeMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 38: Line 38:


[[Category:Scripting Commands|REMOVEMAGAZINE]]
[[Category:Scripting Commands|REMOVEMAGAZINE]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|REMOVEMAGAZINE]]
[[Category:Scripting Commands OFP 1.96|REMOVEMAGAZINE]]
[[Category:Scripting Commands OFP 1.46|REMOVEMAGAZINE]]
[[Category:Scripting Commands OFP 1.46|REMOVEMAGAZINE]]

Revision as of 11:00, 25 September 2014

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:
Uncategorised

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