Hi guys i need help im trying to find out how to make a dungeon and im looking for some help like how exactly use those new functions for expample d.new_jump and how they work im trying to remake Demontower but from some reason those functions doesnt work very well and i want find out how to warp player with those functions without teleport just move him on coordinates and then start new timer and spawn new mob regen i will be very thankfull for help
// here is code i already have from some reason d.jump work only if im in dt already when im not i have to use warp and im trying find out how to move player on coordinates in to the floor 2 without loading
Code
- quest veza_demonov begin
- state start begin
- when deviltower_enter.chat."Chcete vstúpiť do veže?" begin
- if pc.get_level() >= 40 then
- say_title("Vstup do veže démonov[ENTER]")
- say("V tejto veži je veľa démonov. [ENTER] Len tí najsilnejší sa dostanú až na vrchol veže. [ENTER] Ale vraví sa, že kto vlezie do věže, [ENTER] tak už nevylezie. [ENTER][ENTER] Chcete aj tak vstúpiť do veže?[ENTER]")
- local s = select("Vstúpiť ", "Odísť ")
- if s == 1 then
- pc.warp(204800,665600)
- end
- else
- say_title("Vstup do veže démonov[ENTER]")
- say("Na vstup do veže démonov potrebujete minimálne úroveň 40.[ENTER]")
- end
- end
- when deviltower_metin_one.kill begin
- timer("deviltower", 1)
- end
- when deviltower.timer begin
- d.new_jump(66,204800+223,665600+421)
- end
- end
- end