Saturday, March 3, 2012

Class jobs updating

It works! classes now update and can be checked. What a pain in the rear. Perhaps I should explain why it was such an issue.

The girls have 2 sets of classes. That may seem obvious, but we have to know does the class exist, is it known by the girls, and then we have to update the right one class 1 or 2.

That means you can't use a direct update.

GameArray[whatGirl].girlClass11Total while can be changed would mean that we may have changed a class that doesn't exist or could be at location 21. Needless to say we can do 2x as many events checking the classes etc but better for everyone to use the girl functions that are already made.

Doing so was a pain but I got it working.


1 comment: