Hello,
While making my game, I've run into two problems that I've tried to solve by scripting but have been stumped on for a while.
1. I have a script that randomly generates dungeons. What I want is for each room in the dungeon to have one event that is an enemy or the exit and one event that is neither of those things. How do I tell the difference between those types of events in a script? The closest I've gotten is doing it based on the event's ID, but I have no way to arrange them conveniently, I would have to manually put in the event IDs of the enemies and exits for each map.
2. I use the "Add State" command in common events often, but I fear it will confuse the player because it gives no indication when it happens in battle, just adding the state providing no text. How can I make this command during battle display the message of adding the state as if it was done by an attack? E.g. actor became poisoned.
Thanks to anyone who helps.
While making my game, I've run into two problems that I've tried to solve by scripting but have been stumped on for a while.
1. I have a script that randomly generates dungeons. What I want is for each room in the dungeon to have one event that is an enemy or the exit and one event that is neither of those things. How do I tell the difference between those types of events in a script? The closest I've gotten is doing it based on the event's ID, but I have no way to arrange them conveniently, I would have to manually put in the event IDs of the enemies and exits for each map.
2. I use the "Add State" command in common events often, but I fear it will confuse the player because it gives no indication when it happens in battle, just adding the state providing no text. How can I make this command during battle display the message of adding the state as if it was done by an attack? E.g. actor became poisoned.
Thanks to anyone who helps.