Hey all,
I'm making my own serialization script, and I can't seem to figure out how to create a new object based on a given class type - for instance, if the save file has the word Item, I would like to be able to tell RMXP to create a new instance of the class Item.
In other languages it's pretty easy to do, such as in C# where you do Activator.createInstance( type ) and it makes the object.
Is there a way to do this in RGSS?
Thanks!
I'm making my own serialization script, and I can't seem to figure out how to create a new object based on a given class type - for instance, if the save file has the word Item, I would like to be able to tell RMXP to create a new instance of the class Item.
In other languages it's pretty easy to do, such as in C# where you do Activator.createInstance( type ) and it makes the object.
Is there a way to do this in RGSS?
Thanks!