Kurby Posted July 19, 2012 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
PokemonRO Posted July 19, 2012 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
Kurby Posted July 19, 2012 Author 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
Euphy Posted July 19, 2012 Posted July 19, 2012 http://rathena.org/wiki/Basic_Scripting#Duplicating Quote
Kurby Posted July 19, 2012 Author Posted July 19, 2012 (edited) http://rathena.org/w...ing#Duplicating Nvm.. Sorry about that .__. Edited July 19, 2012 by Kurby Quote
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
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.