Jump to content
  • 0

Warping people out of map


Question

Posted

Could someone show me an already made script or help me along making this script?

When the player reaches a certain part of the map, he'll be warped back to town?

It seems pretty simple, I'm just not very experienced with scripting. I know how to warp the player, just not the rest.. Lol /meh

4 answers to this question

Recommended Posts

Posted (edited)

Oh sorry on a certain part okay, i thought it was just a map,

You can maybe use this

mapname,x,y,0 script ontouch -1,3,3,{
OnTouch:
warp "mapname",x,y;
close;
}

the -1,3,3 specifics the cell range, so if you can specifiy the x and y cell range of that part of the map and put an npc there, you can make them warp back to town

Edited by PokemonRO
Posted

Oh sorry on a certain part okay, i thought it was just a map,

You can maybe use this

mapname,x,y,0 script ontouch -1,3,3,{
OnTouch:
warp "mapname",x,y;
close;
}

the -1,3,3 specifics the cell range, so if you can specifiy the x and y cell range of that part of the map and put an npc there, you can make them warp back to town

I'll try this out, thanks!

Hey, how would I add it to multiple spots? :o

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...