LeyendasMt2 Posted March 16, 2013 Report Share Posted March 16, 2013 Hola buenas, me preguntaba si alguien seria tan amable de hacerme una quest de este tipo Un gm active el evento y mediante el npc X se entre al mapa X y cuando entre te den 25 vidas. Por cada vez que mueras te resta 1 , cuando llegues a 0 te mande a city. Lo he intentado yo pero no me funciono, mi manejo de las quest no es tan bueno. Gracias Link to comment Share on other sites More sharing options...
PACI Posted March 16, 2013 Report Share Posted March 16, 2013 quest eventopvp begin state start begin when X.chat."Evento PvP" begin if game.get_event_flag("evento") == 0 then if pc.is_gm() then say("El evento pvp está desactivado.") say("Deseas activarlo?") local a = select ("Sí", "No") if a == 1 then game.set_event_flag("evento", 1) notice_all("El evento pvp ha comenzado") notice_all("Ve al npc X para participar.") end else say("El evento pvp está activado.") say("Quieres desactivarlo?") local b = select ("Si", "no") if b == 1 then game.set_event_flag("evento", 0) notice_all("El evento pvp ha terminado.") end else say("El evento pvp está activado.") say("Deseas participar?") local c = select ("Sí", "No") if c == 1 then pc.warp(coordenada x, coordenada y) end end end when kill with npc.is_pc() and pc.get_map_index() == Y and game.get_event_flag("evento") == 1 begin pc.setqf("vidas", pc.getqf("vidas") 25-1) if pc.getqf("vidas") == 0 then warp_to_village() end end end end No se si asi funciona xD pero dejo esta alternativa LeyendasMt2 1 Link to comment Share on other sites More sharing options...
Jaegar Posted March 16, 2013 Report Share Posted March 16, 2013 Leyendas has probado? Link to comment Share on other sites More sharing options...
LeyendasMt2 Posted March 16, 2013 Author Report Share Posted March 16, 2013 Nop no sirvio pero grax de todos modos Link to comment Share on other sites More sharing options...
LeyendasMt2 Posted March 18, 2013 Author Report Share Posted March 18, 2013 Revivo aver si alguien me ayuda plis Link to comment Share on other sites More sharing options...
dabliux Posted March 1, 2016 Report Share Posted March 1, 2016 revivo por favor ayuda Link to comment Share on other sites More sharing options...
JeS Posted March 1, 2016 Report Share Posted March 1, 2016 revivo por favor ayuda ¿Qué necesitáis? Link to comment Share on other sites More sharing options...
dabliux Posted March 1, 2016 Report Share Posted March 1, 2016 ¿Qué necesitáis? que funcione la quest ejemplo que a las 3 muertes te envie a city eso es todo amigo gracias Link to comment Share on other sites More sharing options...
Johan™ Posted March 1, 2016 Report Share Posted March 1, 2016 yo lo veo mas facil por c++ usando el evento dead y listo xd Link to comment Share on other sites More sharing options...
dabliux Posted March 1, 2016 Report Share Posted March 1, 2016 yo lo veo mas facil por c++ usando el evento dead y listo xd jaja no puedo no uso source pasamelo por quest Link to comment Share on other sites More sharing options...
dabliux Posted March 4, 2016 Report Share Posted March 4, 2016 sera que no nos ayudaran :C Link to comment Share on other sites More sharing options...
dabliux Posted March 4, 2016 Report Share Posted March 4, 2016 quest eventopvp begin state start begin when X.chat."Evento PvP" begin if game.get_event_flag("evento") == 0 then if pc.is_gm() then say("El evento pvp está desactivado.") say("Deseas activarlo?") local a = select ("Sí", "No") if a == 1 then game.set_event_flag("evento", 1) notice_all("El evento pvp ha comenzado") notice_all("Ve al npc X para participar.") end else say("El evento pvp está activado.") say("Quieres desactivarlo?") local b = select ("Si", "no") if b == 1 then game.set_event_flag("evento", 0) notice_all("El evento pvp ha terminado.") end else say("El evento pvp está activado.") say("Deseas participar?") local c = select ("Sí", "No") if c == 1 then pc.warp(coordenada x, coordenada y) end end end when kill with npc.is_pc() and pc.get_map_index() == Y and game.get_event_flag("evento") == 1 begin pc.setqf("vidas", pc.getqf("vidas") 25-1) if pc.getqf("vidas") == 0 then warp_to_village() end end end end No se si asi funciona xD pero dejo esta alternativa PACI sera que la puedes corregir o rectificar por favor Link to comment Share on other sites More sharing options...
Tyrael Posted March 4, 2016 Report Share Posted March 4, 2016 en vez de pedir intenta acomodarla y si ven inteteres que intentas acomodarla es posible que te ayuden xD Link to comment Share on other sites More sharing options...
JeS Posted March 4, 2016 Report Share Posted March 4, 2016 PACI sera que la puedes corregir o rectificar por favor Pero, tenéis algún error o algo? Link to comment Share on other sites More sharing options...
Rinnegan Posted March 4, 2016 Report Share Posted March 4, 2016 Debes iniciar sesión para ver el contenido del enlace en esta publicación. Link to comment Share on other sites More sharing options...
Recommended Posts