Hello everyone,
This is my first message here, and I'm writting because I can't solve this problem.
As the title says, I'm using the script Actor Customization http://rmrk.net/index.php?topic=20154.0 (http://rmrk.net/index.php?topic=20154.0).
It makes that the characters get points every level, and you can distribute it between the different stats. It has an option that allows to make different "upgrade per point", one using the actor ID of the database, and another using the class ID of the actor in the database.
When I tried it in a new project, it doesn't get any error, the same as when I used in my project. But when I edit it and say to use the class ID, an error appears.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg231.imageshack.us%2Fimg231%2F5081%2Ferrorzf4.th.png&hash=ef5de7e60f6a6cc1ab814169d58623ad73287fc0) (http://img231.imageshack.us/my.php?image=errorzf4.png)
Can anyone solve this?
Thanks for your time,
Agju
Well, how precisely did you edit it? Show us what you changed. If I had to take a guess there's an addition operation involving the variable that held actor_id and when you replaced it with class_id it left you with an uninitialized variable actor_id which caused the script error when it got to the addition operation.
I'm sorry I can't precise more (I'm not in front of my computer), but if you have the script, in line 21 it says
Use_class_id = false # Advance characters based on the class ID
I think that if you put
Use_class_id = true # Advance characters based on the class ID
from this line
# Format = {Actor.id (or class_id) => Amount to raise}
Actor_HP = {1 => 5, 2 => 5}
the red numbers changed to be the class_id of the database.
Well, when I change Use_class_id = false to true, it's when I get that error.
I think there's no conflict whit other scripts I use, because it also happens in a new project with default scripts.
If you need more precision, I will make a more precise post when I get home (in 2 days)
Thanks again,
Agju