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.


<pre><nowiki>
GiveScore(7); //Health. You can also use GlobalInt for this.
GiveScore(7); //Health. You can also use GlobalInt for this.
SetGlobalInt(2,8); //Mana
SetGlobalInt(2,8); //Mana
SetGlobalInt(3,0); //Exp-weapons.
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.
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,


Line 212: Line 213:


ahmetkeles_16@hotmail.com (MSN Messenger)
ahmetkeles_16@hotmail.com (MSN Messenger)
[[Category:Intermediate Tutorials]]
[[Category:Intermediate Tutorials]]</pre>
0

edits

Navigation menu