Jump to content
  • 0

Warp portal to last map


hadie

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   1
  • Joined:  03/11/12
  • Last Seen:  

I make main inn map that can access by all kafra but i forgot how to make a portal from that inn map go to last map(from kafra you access)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

store current map coordinate into a variables

and leave the inn, check for these variable value to determine which maps to warp.

// to save location
getmapxy(last_map$, last_x, last_y, 0);

// to warp back to previous location
warp last_map$, last_x, last_y;

 

Edited by Emistry
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   1
  • Joined:  03/11/12
  • Last Seen:  

On 8/29/2018 at 12:24 AM, Emistry said:

store current map coordinate into a variables

and leave the inn, check for these variable value to determine which maps to warp.


// to save location
getmapxy(last_map$, last_x, last_y, 0);

// to warp back to previous location
warp last_map$, last_x, last_y;

 

thank you my idola

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...