addWeaponPool: Difference between revisions
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (see also) |
||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>[[addWeaponPool] ["M16",5];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addMagazinePool]], [[clearWeaponPool]], [[queryWeaponPool]]|= See also | | [[addMagazinePool]], [[clearWeaponPool]], [[queryWeaponPool]], [[addMagazineAmmoCargo]]|= See also | ||
}} | }} |
Revision as of 01:38, 4 September 2014
{{Command|= Comments ____________________________________________________________________________________________
| ofpr |= Game name
|1.75|= Game version ____________________________________________________________________________________________
| Add weapons to the weapon pool, of which the player may choose in the following mission. Available in campaigns only. |= Description ____________________________________________________________________________________________
| addWeaponPool [weaponName, count] |= Syntax
|p1= [weaponName, count]: Array |= Parameter 1
|p2= weaponName: String - weapon name. See the topic Category:Weapons for reference about possible values. |= Parameter 2
|p3= count: Number - number of weapons to add |= Parameter 3
| Nothing |= Return value ____________________________________________________________________________________________
|x1= [[addWeaponPool] ["M16",5];
|= Example 1
____________________________________________________________________________________________
| addMagazinePool, clearWeaponPool, queryWeaponPool, addMagazineAmmoCargo|= See also
}}