chromus28 Posted March 5, 2014 Posted March 5, 2014 does anyone have a warper that they dont need to click the npc or even talk on it, they just need to walk through that warp then automatically they will warp on the destination map? i need this on Dice event thanks Quote
sandbox Posted March 5, 2014 Posted March 5, 2014 You can check out my Dice Event script though its old and badly written. Anyways here's the code, it's basically a warp portal npc. quiz_01,100,100,0 warp 100to200 1,1,quiz_01,200,200 ^Will transfer the user from quiz_01 100 100 to quiz_01 200 200 upon walking through the portal ** Define a warp point<from mapname>,<fromX>,<fromY>,<facing>%TAB%warp%TAB%<warp name>%TAB%<spanx>,<spany>,<to mapname>,<toX>,<toY>This will define a warp NPC that will warp a player between maps, and while mostarguments of that are obvious, some deserve special mention.SpanX and SpanY will make the warp sensitive to a character who didn't stepdirectly on it, but walked into a zone which is centered on the warp fromcoordinates and is SpanX in each direction across the X axis and SpanY in eachdirection across the Y axis.Warp NPC objects also have a name, because you can use it to refer to them laterwith 'enablenpc'/'disablenpc'Facing of a warp object is irrelevant, it is not used in the code and allcurrent scripts have a zero in there. Quote
Question
chromus28
does anyone have a warper that they dont need to click the npc or even talk on it, they just need to walk through that warp then automatically they will warp on the destination map? i need this on Dice event thanks
2 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.