- Joined
- Jan 15, 2019
- Messages
- 10
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
I want to make a dungeon/puzzle where there are a series of rooms with a door on all four sides and the boss is in the center of one of the rooms. When you enter the room, if the boss is there, he then runs from the player, exiting the opposite door. Additionally, these rooms are not adjacent on the map (I'm doing some weird perspective messing stuff) so when the boss reaches a door, I need to do a transfer event to place him in the correct room.
Obviously, none of this is too complicated. What I'm wondering is: is there a simple way to do this? My thought right now is have four common events: one for the boss moving in each direction. Then, have a common event for each room to transfer the boss to that room. On all of my transfer events between rooms, I can check if the player and boss end up in the same room. If they do, call the appropriate common events to move the boss and transfer him to the right room. This...seems a little ugly, but with copy and pasting is doable.
I'm also wondering if there's a way to do this with an autorunning event and regions. I imagine it would being if player region = boss region but the body gets gross fast (four conditionals to determine how the boss runs from the player, plus boss direction and region being used to determine where to transfer the boss).
I'm still new, so I'm betting there's a clever solution using tools I haven't thought of.
Thanks!
Obviously, none of this is too complicated. What I'm wondering is: is there a simple way to do this? My thought right now is have four common events: one for the boss moving in each direction. Then, have a common event for each room to transfer the boss to that room. On all of my transfer events between rooms, I can check if the player and boss end up in the same room. If they do, call the appropriate common events to move the boss and transfer him to the right room. This...seems a little ugly, but with copy and pasting is doable.
I'm also wondering if there's a way to do this with an autorunning event and regions. I imagine it would being if player region = boss region but the body gets gross fast (four conditionals to determine how the boss runs from the player, plus boss direction and region being used to determine where to transfer the boss).
I'm still new, so I'm betting there's a clever solution using tools I haven't thought of.
Thanks!