I was messing around with some scripts and i am currently making a list of RGSS codes and their functions but i ran into something that has me kinda puzzled. So here goes:-
To change an attribute such as the name of your character in your game you have to use the $game_actors as $data_actors wont work because it has been wrote to the database and they are set values. But this is the part that puzzles me...if you use the following code below it somehow overwrites the database and displays the new value. Is there a reason why classes make an exception?
To change an attribute such as the name of your character in your game you have to use the $game_actors as $data_actors wont work because it has been wrote to the database and they are set values. But this is the part that puzzles me...if you use the following code below it somehow overwrites the database and displays the new value. Is there a reason why classes make an exception?
Code:
$data_classes[1].name = "New Class"