AllPaoTeam
Member
I am trying to access the methods of game_actor class to change some attributes such as HPs/name/class/etc. In the intro of my game I want to give the game player the option to choose their class and by doing that have the game generate random HPs/SPs/STR/etc. So the only way I can think of doing this is to access the game_actor class and input the fields I want changed. Below is what I wrote as a test:
>Script:$game_actor.setup(9)
with 9 being the id for actor 9
Here is the error I got:
NoMethodError occurred while running script.
undefined Method 'setup' for NilClass
Im confused because there is a class called game_actor and the method does exist.
I would appreciate it if someone could help explain to me why my coding doesnt work.
Thanks,
Pao
>Script:$game_actor.setup(9)
with 9 being the id for actor 9
Here is the error I got:
NoMethodError occurred while running script.
undefined Method 'setup' for NilClass
Im confused because there is a class called game_actor and the method does exist.
I would appreciate it if someone could help explain to me why my coding doesnt work.
Thanks,
Pao