Kurby Posted July 19, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Share Posted July 19, 2012 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 Quote Link to comment Share on other sites More sharing options...
PokemonRO Posted July 19, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 63 Reputation: 3 Joined: 07/12/12 Last Seen: December 30, 2013 Share Posted July 19, 2012 (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 July 19, 2012 by PokemonRO Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 19, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 19, 2012 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? Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 19, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 19, 2012 http://rathena.org/wiki/Basic_Scripting#Duplicating Quote Link to comment Share on other sites More sharing options...
Kurby Posted July 19, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 113 Reputation: 1 Joined: 07/15/12 Last Seen: January 5, 2013 Author Share Posted July 19, 2012 (edited) http://rathena.org/w...ing#Duplicating Nvm.. Sorry about that .__. Edited July 19, 2012 by Kurby Quote Link to comment Share on other sites More sharing options...
Question
Kurby
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
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.