4metin
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomePortalLatest imagesSearchRegisterLog in

 

 [QUEST RELASE]Teleport

Go down 
AuthorMessage
Wolf
Admin
Admin
Wolf


Posts : 85
Points : 253
Join date : 2010-09-09
Age : 32
Location : Romania/Constanta

[QUEST RELASE]Teleport Empty
PostSubject: [QUEST RELASE]Teleport   [QUEST RELASE]Teleport EmptyThu Sep 09, 2010 4:43 pm


inelul acesta il folositi Smile cod 40002 :
Quest File :

Code:
quest warpring begin
    state start begin
        when 40002.use begin
            local empire = pc.get_empire()
            local level = pc.get_level()
            --local pvpMinLevel = game.get_event_flag("pvpMinLevel")
            --local pvpMaxLevel = game.get_event_flag("pvpMaxLevel")
            --local pvpMapOpen = game.get_event_flag("pvpMapOpen")
            say_title("Warp Ring:")
            say("Would you like to teleport?")
            local a = select("Yes","No")
        if a == 1 then
            say("Where would you like to teleport?")
            --Open menu
            local sub_set = select("Map 1", "Map 2", "Nula Valley", "Wasteland", "Tangra valley", "Pit of Death", "Next Page", "Close")
            if sub_set == 7 then
                local sub_set2 = select("Valkus", "Demon Tower", "V2", "Red Forest", "Watery Cavern", "Close")
            end
         
            -- Exiting
            if sub_set == 8 then
                return
            end
            if sub_set2 == 6 then
                return
            end
            -- Warping blue
            if sub_set == 1 and empire == 3 then
                pc.warp(921600, 204800 )
            elseif sub_set == 2 and empire == 3 then
                pc.warp(819200, 204800 )
            elseif sub_set == 3 and empire == 3 then
                pc.warp(321300, 808000 )
            elseif sub_set == 4 and empire == 3 then
                pc.warp(344000, 502500 )
            elseif sub_set == 5 and empire == 3 then
                pc.warp(491800, 173600 )
            elseif sub_set2 == 1 and empire == 3 then
                pc.warp(730700, 689800 )
            elseif sub_set2 == 2 and empire == 3 then
                pc.warp(590500, 110500 )
            elseif sub_set2 == 3 and empire == 3 then
                pc.warp(704100, 464100 )
            elseif sub_set2 == 4 and empire == 3 then
                pc.warp(1119900,70800 )
            elseif sub_set2 == 5 and empire == 3 then
                pc.warp(10355, 1212929 )
            end
            -- Warping yellow
            if sub_set == 1 and empire == 2 then
                pc.warp(0, 102400 )
            elseif sub_set == 2 and empire == 2 then
                pc.warp(102400, 204800 )
            elseif sub_set == 3 and empire == 2 then
                pc.warp(270400, 739900 )
            elseif sub_set == 4 and empire == 2 then
                pc.warp(221900, 502700 )
            elseif sub_set == 5 and empire == 2 then
                pc.warp(270400, 739900 )
            elseif sub_set2 == 1 and empire == 2 then
                pc.warp(597800, 622200 )
            elseif sub_set2 == 2 and empire == 2 then
                pc.warp(590500, 110500 )
            elseif sub_set2 == 3 and empire == 2 then
                pc.warp(704100, 464100  )
            elseif sub_set2 == 4 and empire == 2 then
                pc.warp(1119900,70800 )
            elseif sub_set2 == 5 and empire == 2 then
                pc.warp(10355, 1212929 )
            end
            -- Warping red
            if sub_set == 1 and empire == 1 then
                pc.warp(409600, 896000 )
            elseif sub_set == 2 and empire == 1 then
                pc.warp(307200, 819200 )
            elseif sub_set == 3 and empire == 1 then
                pc.warp(402677, 673589 )
            elseif sub_set == 4 and empire == 1 then
                pc.warp(217800, 627200 )
            elseif sub_set == 5 and empire == 1 then
                pc.warp(434200, 290600 )
            elseif sub_set2 == 1 and empire == 1 then
                pc.warp(599400, 756300 )
            elseif sub_set2 == 2 and empire == 1 then
                pc.warp(590500, 110500 )
            elseif sub_set2 == 3 and empire == 1 then
                pc.warp(704100, 464100 )
            elseif sub_set2 == 4 and empire == 1 then
                pc.warp(1119900,70800 )
            elseif sub_set2 == 5 and empire == 1 then
                pc.warp(10355, 1212929 )
            end
                -- Warping pvp map
            if sub_set == 6 then
say("This option is for pvp event that will be released later.")
                --if pvpMapOpen == 0 then
                --    say_title("Warp ring")
                --    say("The pvp map is closed now")
                --    say("Come back later")
            --    else
            --        if level < pvpMinLevel or level > pvpMaxLevel then
            --            say_title("Warp ring")
            --            say("You don't furfill the level requirments.")
            --            say("")
            --            say("Minimum level is: "..pvpMinLevel..".")
            --            say("Maximum level is: "..pvpMaxLevel..".")
            --            say_reward("Your level is: "..level..".")
            --        else
            --            if empire == 1 then
            --                pc.warp(953544, 18282)
            --            elseif empire == 2 then
            --                pc.warp(936863, 22145)
            --            else
            --                pc.warp(947768, 37327)
            --            end
            --        end
            --    end
            end
        else
            return
        end
        end -- end when
    end
end 

Instalare :
Copiati si bagati aceste date intr-un txt pe care il redenumiti warpring.quest il bagati in file zila in quest il adaugati in hongkong_list si dati in joc daca sunteti gm /reload q bounce
Back to top Go down
http://4metin.niceboards.net
 
[QUEST RELASE]Teleport
Back to top 
Page 1 of 1
 Similar topics
-
» [GHID]Teleport V3
» [GHID]Quest lv 90
» [Quest Release]GM online
» Start Quest Level 1 !
» [GHID] Scoaterea Quest

Permissions in this forum:You cannot reply to topics in this forum
4metin :: Metin2 :: Tutoriale-
Jump to: