User Tools

Site Tools


arma3:missions:campaign-weaponpool

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma3:missions:campaign-weaponpool [2017-12-16 06:31]
snakeman created initial page.
arma3:missions:campaign-weaponpool [2018-03-08 13:56] (current)
snakeman weaponpool fix.
Line 5: Line 5:
 Note the difference between **weaponPool** and **saveStatus** where weaponpool is for the "​virtual"​ (not virtual arsenal) weapons & gear saving and saveStatus is saving your character status including health, uniform and other gear including weapons. Note the difference between **weaponPool** and **saveStatus** where weaponpool is for the "​virtual"​ (not virtual arsenal) weapons & gear saving and saveStatus is saving your character status including health, uniform and other gear including weapons.
  
-Weaponpool is simple to activate, just include weaponpool = true; in your campaign description.ext:​+Weaponpool is simple to activate, just include weaponpool = 1; in your campaign description.ext ​outside class campaign:
 <code cpp> <code cpp>
 +weaponPool = 1;
 +
 class Campaign class Campaign
 { {
Line 13: Line 15:
  overviewText = "​Defend your homeland against capitalist amerikan pigs and russian commie scum!";​  overviewText = "​Defend your homeland against capitalist amerikan pigs and russian commie scum!";​
  firstBattle = Beginning;  firstBattle = Beginning;
- weaponPool = true; 
 // etc ... // etc ...
 </​code>​ </​code>​
Line 22: Line 23:
 <code cpp> <code cpp>
 _content = getWeaponCargo MyAmmoBox; _content = getWeaponCargo MyAmmoBox;
 +</​code>​
 +
 +Fill ammo box / create with weaponPool stuff:
 +<code cpp>
 +putWeaponPool MyAmmoBox;
 </​code>​ </​code>​
arma3/missions/campaign-weaponpool.txt ยท Last modified: 2018-03-08 13:56 by snakeman