Jump to content
  • 0

Warp portal to last map


Question

Posted

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)

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...