Quote
Originally posted by Debra:
I'm using both race and class. Will Coldstone add the points together?
Mrs. Debra,
While I'm not 100% sure because I've not build a game from scratch(I write plugins for PoG), I've heard numerous complaints from people attempting to add a class, a race, or both, and the engine ignoring the stat adjustments. So honestly I don't know if what you want will work well or not, but I've become skeptical enough to doubt it.
However, there is a workaround that will work, and you can customize it to your hearts content.
Create an event that is linked to the starting location(s) for the player. Create a global variable called something like, "set_stats" and then put the following code into the event:
- Check if "set_stats" is equal to 1. If so then end the event. If not, continue...
- Check the player's race and set the player's stats accordingly(would be best, in my opinion, to have seperate events such as "set elven stats" etc, and then put a call event in your main event for each possible race).
- Check the player's class and adjust the stats accordingly in a similar manner as you did for race.
- Set "set_stats" to be 1 so that this event is never run again.
Furthermore, if you wish to later on be able to check the player's class(since for some reason &&Job; is not a useable variable in a conditional check) you will want to create a global(something like "PlayersClass") and set it equal to &&Job; with a Change Globals event object at the end of that main event. Then you can later check this variable to quickly find the player's class.
------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) now on (url="http://"http://www.evula.net")EVula.net(/url)