Retreat Skill

● ARCHIVED · READ-ONLY
Started by Kazu0kami 5 posts View original ↗
  1. I'm a big fan of the Golden Sun series by Camelot, and one of the Psynergy Skills within the game is called "Retreat" which allows the user to teleport back towards the entrance of a dungeon.

    I'm confident this can be done with a common event listed in a skill called Retreat, but I've never been able to figure out how I would be able to make it work. It would also be only able to work inside of Dungeons.

    Any suggestions?

    -Kazu
  2. Hello Kazu,

    One thing you might try is during the transfer event to a specific dungeon have three variables, each set to one of the following: MAP ID of dungeon entrance, Player X of starting position in dungeon, and Player Y of starting position of dungeon. Then when you use the skill it transfers the player to the MAP ID, Player X and Player Y you set. Also during the transfer event to the dungeon, you can use the event to add skill: "Retreat." During the transfer event out of the dungeon, you can use the event to seal skill: "Retreat." Doing this would make it so that every time you enter the dungeon, it adds the skill "Retreat" and sets its teleport location to the entrance of the dungeon, then seals the skill when you leave the dungeon.

    Hope this helps, Leifman7
  3. Actually, I'm pretty terrible with variables, I'm sorry if this an inconvenience, but if you have the time, could you perhaps make a screenshot of what you mean?

    I'm incredibly terrible with instructions I'm afraid, and just more of a visual learner is all. I once again apologize if it's any sort of hassle :o
  4. Basically, you'll need one Common Event for your skill and a few commands on going into a dungeon.

    Instead of sealing a skill, I tend to use a switch to see whether I can use the skill properly.

    Anyway, I simply check if the Switch I defined is ON or OFF. If it's on, I'll teleport the player back to somewhere near the entrance, else I'll simply print a message telling the player retreating would be pretty useless right now.

    Upon entering a dungeon, I define 3 Variables, "Retreat X" "retreat Y" and "Retreat Map ID" to make the Retreat skill work properly. I also activate the Switch to allow proper use of the skill.

    Upon leaving said dungeon, I simply turn the switch off.

    First Image, showing the CE itself

    Second Image, how your entrance Events could look like

    PS: If you have problems with understanding variables I'd suggest you read up on those in one of our fantastic guides, I'm pretty sure there is at least one who deals with variables. Those little buggers are essential for almost everything in eventing. ;)
  5. Thank you! I'll definitely take a look at some of the guides dealing with them, I've always been afraid that I wouldn't understand how to use them properly, but I'll try and get a better grasp of it.

    Thanks once again for providing screenshots! I really appreciate it!