Jump to content
  • 0

Warping people out of map


Kurby

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  113
  • Reputation:   1
  • Joined:  07/15/12
  • Last Seen:  

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

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   3
  • Joined:  07/12/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  113
  • Reputation:   1
  • Joined:  07/15/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  113
  • Reputation:   1
  • Joined:  07/15/12
  • Last Seen:  

Nvm.. Sorry about that .__.

Edited by Kurby
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...