Inel Teleportare

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
bgbayatversat98
Nivel 1

Nivel 1
Mesaje: 50
Membru din: 27 Aug 2014, 01:02
Aprecieri: 0
Mulţumiri: 1  
Medalii

local main_set = select ( "Campul cu serpi" , "Turnul demonilor" , "V2" , "Padurea Rosie" , "V3" )
if main_set == 1 then
pc . warp ( 828300 , 763500 )
elseif main_set == 2 then
pc . warp ( 590500 , 110500 )
elseif main_set == 3 then
pc . warp ( 665600 , 435200 )
elseif main_set == 4 then
pc . warp ( 1.0496e+06 , 0 )
elseif main_set == 5 then
pc . warp ( 0 , 1203200)

Vreau sa pun in continuare Map1 si Map2,dar sa te teleporteze in functie de regatul player-ului.(ex: daca player-ul este din regatul galben,sa fie teleportat in map1,2 galbeni)
Poate cineva sa completeze questul?
Avatar utilizator
Mikkelsen
Mister Just4Metin

Mister Just4Metin
Mesaje: 2353
Membru din: 06 Mar 2014, 23:53
Server: ETH
Regat: Jinno
Aprecieri: 11  
Mulţumiri: 40  
 Contact:
Medalii

Poftim quest-ul pentru inelul de teleportare care este folosit de foarte multe servere din prezent.

Cod: Selectaţi tot

quest warpring begin
   state start begin
      when 70007.use begin
         local x
         local y
         local t
         local e = pc.get_empire()
         say_title("Teleporter:")
         say("Încotro vrei să mergi străine?")
         local s = select("Map1", "Map2", "Valea Orcilor", "Deşert", "Sohan", "Tara de foc", "Următoarele", "Închide")
         if s==7 then
            say_title("Teleporter:")
            say("Încotro vrei să mergi străine?")
            local p = select("Turnul Demonilor", "V1", "Pădurea Fantomelor", "Pădurea Roşie", "Tara Gigantilor", "Grota Exilului", "Închide")
            if p==1 then
               x="590400"
               y="110500"
            elseif p==2 then
               x="91900"
               y="525400"
            elseif p==3 then
               x="289000"
               y="5800"
            elseif p==4 then
               say_title("Teleporter")
               say("Încotro vrei să mergi străine?")
               t = select("Început", "Sfârşit", "Închide")
               if t==1 then
                  x="1119900"
                  y="70800"
               elseif t==2 then
                  x="1119200"
                  y="7000"
               end
            elseif p==5 then
               x="828100"
               y="763400"
            elseif p==6 then
               x="284200"
               y="809600"
            end
         elseif s==1 then
            say_title("Teleporter")
            say("Încotro vrei să mergi străine?")
            t = select("Regatul Roşu", "Regatul Galben", "Regatul Albastru","Închide")
            if t==1 then
               x="473900"
               y="954600"
            elseif t==2 then
               x="63200"
               y="166700"
            elseif t==3 then
               x="959600"
               y="269700"
            end
         elseif s==2 then
            say_title("Teleporter:")
            say("Încotro vrei să mergi străine?")
            t = select("Regatul Roşu", "Regatul Galben", "Regatul Albastru", "Închide")
            if t==1 then
               x="352300"
               y="882700"
            elseif t==2 then
               x="145700"
               y="239800"
            elseif t==3 then
               x="863800"
               y="246000"
            end
         elseif s==3 then
            say_title("Teleporter:")
            say("Încotro vrei să mergi străine?")
            t = select("Început", "Centru", "Arahani", "Închide")
            if t==1 then
               if e==1 then
                  x="402100"
                  y="673900"                  
               elseif e==2 then
                  x="270400"
                  y="739900"
               elseif e==3 then
                  x="321300"
                  y="808000"
               end
            elseif t==2 then
               x="332700"
               y="745600"
            elseif t==3 then
               x="282800"
               y="792800"
            end
         elseif s==4 then
            say_title("Teleporter:")
            say("Încotro vrei să mergi străine?")
            t = select("Inceput", "Sfârşit", "Închide")
            if t==1 then
               if e==1 then
                  x="217800"
                  y="627200"                  
               elseif e==2 then
                  x="221900"
                  y="502700"
               elseif e==3 then
                  x="344000"
                  y="502500"
               end
            elseif t==2 then
               x="296300"
               y="547500"
            end
         elseif s==5 then
            say_title("Teleporter")
            say("Încotro vrei să mergi străine?")
            t = select("Început", "Mijloc", "Închide")
            if t==1 then
               if e==1 then
                  x="434200"
                  y="290600"                  
               elseif e==2 then
                  x="375200"
                  y="174900"
               elseif e==3 then
                  x="491800"
                  y="173600"
               end
            elseif t==2 then
               x="436200"
               y="215300"
            end         
         elseif s==6 then
            say_title("Teleporter:")
            say("Încotro vrei să mergi străine?")
            t = select("Început", "Închide")
            if t==1 then
               if e==1 then
                  x="599400"
                  y="756300"                  
               elseif e==2 then
                  x="597800"
                  y="622200"
               elseif e==3 then
                  x="730700"
                  y="689800"
               end
            elseif t==2 then
               return
            end
         end         
         if s!=8 or p!= 7 then
            pc.warp(x, y)
         end
      end
   end
end
Succes.
Avatar utilizator
B.Mihai
Fost Moderator

Fost Moderator
Mesaje: 590
Membru din: 18 Mai 2014, 20:13
Server: In cautare✔
Regat: Jinno
Aprecieri: 236  
Mulţumiri: 150  
 Contact:
Medalii

Foloseste questul de la Anderson.
Acesta este cel mai bun quest!

Daca nu iti merge questul imi dai pm si iti fac eu,dar cred ca merge 100%
Joker is crazy. But for what she likes.
Imagine
Afișează semnătura
Avatar utilizator
bgbayatversat98
Nivel 1

Nivel 1
Mesaje: 50
Membru din: 27 Aug 2014, 01:02
Aprecieri: 0
Mulţumiri: 1  
Medalii

Poti modifica te rog,sa numai apara cand dai pe unele mape "Centru" ,"Arhani".etc?
Închis
Răspunsuri
4
Vizualizări
838
Răspunsuri
11
Vizualizări
765
Răspunsuri
6
Vizualizări
370
Răspunsuri
8
Vizualizări
713

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie