How many classes do you have?
It's going to be a digimon game, so i'm using few actors (with a clone script) and lots of classes, more than 200, that act as evolutions, thanks to Yanfly's Class System
Are you sure that you have the correct actor id?
look more carefully at your first script call in the common event
Combine the two script calls together, as I have.
Help out a newbie when you get some more experience! That's a great way to say thanks.
A chain of favors, i like it!
hi, sorry for the interruption, but wondered if you could help:
I am trying to change the party leader's class during a common event:
something like this should work:
$game_actors[2].change_class(1) if $game_actors[2] and $data_classes[1]
from what I understand actor #2 in my F9 DB should change class to class #1 in my F9 DB.
but I get this error:
Script 'Game_Interpreter' line 1411: ArgumentError occurred. comparison of Fixnum with nil failed
have tried variations, with even worse results:
eg: $game_actors[$game_party.members[0].id].change_class(1)
And yet I can use an event to change class no problem: it's just that I need a variable for target player.
Thankyou for your time. Apologies if this is a stupid question, but one I've been wracking my brains with for a few days. I do wonder if it's a conflict perhaps: I could try a new empty project and see what happens perhaps for this.