Item/Skill that teleports the user to the last inn they slept in?

Discussion in 'RPG Maker MV' started by captainette777, Apr 23, 2018.

    Tags:
  1. captainette777

    captainette777 Mad Scientist Veteran

    Messages:
    78
    Likes Received:
    72
    Location:
    Alternate timeline
    First Language:
    English
    Primarily Uses:
    RMMV
    I wanted to create a skill/item that would allow the player to warp back to the last inn they slept in, but I have no idea how to event that in at all. Any help?
     
    #1
  2. Andar

    Andar Veteran Veteran

    Messages:
    27,928
    Likes Received:
    6,304
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    At every inn, store its position into three variable when they choose rest (x, y, map ID).
    Then let the skill call a common event with a transfer based on those variables.
     
    #2
    ColdAsSnow and captainette777 like this.
  3. captainette777

    captainette777 Mad Scientist Veteran

    Messages:
    78
    Likes Received:
    72
    Location:
    Alternate timeline
    First Language:
    English
    Primarily Uses:
    RMMV
    Thank you so much for the help! I got it to work.:kaojoy:
     
    #3

Share This Page