Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Teleport/Retreat in RMVX

I KNOW it's possible, I'm just not sure how. But I want to make a skill or item that will take you back to the entrance of the dungeon when used. I have an idea, but I'm not sure. I know you'd need to create an event that marks where you'll go, then use Common Events to make it work. Can anyone help me with this? Otherwise I'll just request a script for it and hope someone replies.
 
You'll need two switches for each dungeon.  One that turns on when the player enters one entrance, and the other switch for the opposite entrance.  Then, use conditional branches in a common event based on what switch is on.  Just remember that when you exit you need to turn off both switches.

~Guardian1239
 
You can also assign a variable to the map #, and check which map you're in and teleport to the entrance accordingly, but that might take more time.

@Guardian: Why would you need two switches? I'm assuming Master_Elric only wants one entrance.
 
Well, I was thinking that most dungeons have an entrance and an exit.  I'm sure some just have a dead end, but I think a majority are two-sided.  Of course, it would depend on the game, I guess.

~Guardian1239
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top