Making an RPG with AGS: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
We need these variables to develop our RPG game. Add this script to game_start section. | We need these variables to develop our RPG game. Add this script to game_start section. | ||
GiveScore(7); //Health. You can also use GlobalInt for this. | |||
SetGlobalInt(2,8); //Mana | |||
SetGlobalInt(3,0); //Exp-weapons. | |||
SetGlobalInt(4,0); //Exp-mage. This is what I used for Asporia. You can use only one variable for exp. if you want. | |||
also if you want, | also if you want, |