Making an RPG with AGS: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
*>Dasjoe
mNo edit summary
Line 11: Line 11:


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.


<pre><nowiki>
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.
</nowiki><pre>
also if you want,
also if you want,


Anonymous user

Navigation menu