Oh, I've read it over alot
, but all the same, I can see that I should keep it. It was just a matter of finding the proper expression for adding a "new" actor. Since I'm adding and removing them all the time, it would be ridiculous to have to remember every single one's ID, So I spose for adding a "new" Actor_ID, I'll use a parameter of
$game_actors.size + 1 to ensure that it uses a new ID. Hmmm....thx
The line of code that's really getting me is this:
if @data[actor_id] == nil
@data[actor_id] = Game_Actor.new(actor_id)
end
It says that if that ID does not exist, make a new actor with that ID, but
what should I do about my other 2 parameters??? (Class, Level)Oh, and one more ?...because I CANNOT figure out why this isn't working..When I try to refer to my class it says it's nil. It seems it stops working just because I change its name....i.e. I change Game_Party to Game_Stuff, and refer to it using $game_stuff rather than $game_party and it stops working o_0???
(I swear I could do this before and now it just won't work -_-)
I can also see $game_actor doesnt work unless you use $game_actors, so exactly how does refering work? ... (I feel rly noob asking this ? >.<)