addWeaponPool

From Bohemia Interactive Community
Revision as of 02:38, 4 September 2014 by Ffur2007slx2 5 (talk | contribs) (see also)
Jump to navigation Jump to search

{{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

}}

Notes

Bottom Section