- Joined
- May 2, 2015
- Messages
- 201
- Reaction score
- 31
- First Language
- English
- Primarily Uses
Okay first of all I want to apologize for not having a screenshot of this, but I doubt that it will be necessary to ask this inquiry. I've recently been messing around with the base functions of rpg maker to get a feel for using it and I encountered an annoying problem.
When you make a mistake with an event, for example forgetting to set a common event, you have to go back and redo every instance of that event that you created. Is there a way to set up inheritance in RPG Maker to facilitate quicker trouble shooting? So that if you encounter such a problem that you only have to edit the parent object.
For those who don't really understand what I'm asking, In some programing languages you can create a "Parent" object that has all the major code, variables, and "switches" embedded into code. For example lets pretend rpg maker didn't have NPCs pre-programed into the interface and you wanted to have NPCs in your game, you would create a Parent NPC, or Base NPC, to interact with your player/hero object. Then when you went to create other npcs the source code would be set and you'd just need to change the string variables to change conversations, and switch the switches as needed on or off.
I'm not making NPCs I was trying to create an in game item that raises a variable's value. Which already became irritating since I can't directly state that "variable (x) = Item (x)" because the interface only gives options for "if item exists" and not "Do you have (x) amount of the item"
I have the event I want working properly, but I would love to know if there is a way to set up inheritance for future reference to make things easier. Though hopefully when I start experimenting with scripting this will be a moot point. But for now can anyone tell me if there is a way to set up inheritance for objects (events) in RPG Maker, it'd be most helpful.
When you make a mistake with an event, for example forgetting to set a common event, you have to go back and redo every instance of that event that you created. Is there a way to set up inheritance in RPG Maker to facilitate quicker trouble shooting? So that if you encounter such a problem that you only have to edit the parent object.
For those who don't really understand what I'm asking, In some programing languages you can create a "Parent" object that has all the major code, variables, and "switches" embedded into code. For example lets pretend rpg maker didn't have NPCs pre-programed into the interface and you wanted to have NPCs in your game, you would create a Parent NPC, or Base NPC, to interact with your player/hero object. Then when you went to create other npcs the source code would be set and you'd just need to change the string variables to change conversations, and switch the switches as needed on or off.
I'm not making NPCs I was trying to create an in game item that raises a variable's value. Which already became irritating since I can't directly state that "variable (x) = Item (x)" because the interface only gives options for "if item exists" and not "Do you have (x) amount of the item"
I have the event I want working properly, but I would love to know if there is a way to set up inheritance for future reference to make things easier. Though hopefully when I start experimenting with scripting this will be a moot point. But for now can anyone tell me if there is a way to set up inheritance for objects (events) in RPG Maker, it'd be most helpful.
