addMagazinePool: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Change addMagazine_array reference to addMagazine)
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands)
Line 41: Line 41:
[[Category:Scripting Commands OFP 1.96|ADDMAGAZINEPOOL]]
[[Category:Scripting Commands OFP 1.96|ADDMAGAZINEPOOL]]
[[Category:Scripting Commands ArmA|ADDMAGAZINEPOOL]]
[[Category:Scripting Commands ArmA|ADDMAGAZINEPOOL]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Weapon Pool|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Weapon Pool|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 3: Scripting Commands]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 16:23, 3 December 2018

Hover & click on the images for description

Description

Description:
Add magazines to the magazine pool, of which the player may choose in the following mission. Available in campaigns only.
Groups:
Uncategorised

Syntax

Syntax:
addMagazinePool [magazineName, count]
Parameters:
[magazineName, count]: Array
magazineName: String - magazine name. See the topic Category:Weapons for reference about possible values.
count: Number - number of magazines to add
Return Value:
Nothing

Examples

Example 1:
addMagazinePool ["M16", 20];

Additional Information

See also:
addMagazineGlobaladdMagazineaddMagazinesaddMagazineCargoaddMagazineCargoGlobaladdMagazineTurretaddWeaponPoolclearMagazinePoolqueryMagazinePooladdMagazineAmmoCargo

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