Metin2 Hungarian Forum

Metin2 => Szerver készítés => Privát szerverek => Segítség => A témát indította: Fantasy™ Dátum 2017-08-05, 12:26:10

Cím: quest
Írta: Fantasy™ Dátum 2017-08-05, 12:26:10
Helló
Megoldható hogy több mapindexet is bele lehesen írni?
quest eventdeff begin
   state start begin
      when kill with npc.is_pc() begin   ---Játékos ölés
         if pc.get_map_index() == 105 then   ---az "Event map" mapindexe
            pc.warp(145500,240000)   ---Játékos portolása
         end    -if
      end   -w
   end   -s
end   -q
Cím: Re:quest
Írta: Nexus™ Dátum 2017-08-05, 12:55:31
quest eventdeff begin
   state start begin
      when kill with npc.is_pc() begin   ---Játékos ölés
         if pc.get_map_index() == 105 or pc.get_map_index() == ASD or pc.get_map_index() ASD then   ---az "Event map" mapindexe
            pc.warp(145500,240000)   ---Játékos portolása
         end    -if
      end   -w
   end   -s
end   -q
Cím: Re:quest
Írta: Fantasy™ Dátum 2017-08-06, 00:17:57
quest eventdeff begin
   state start begin
      when kill with npc.is_pc() begin   
         if pc.get_map_index() == 51 or pc.get_map_index() == 52 or pc.get_map_index() == 53 then   
            pc.warp(145500,240000)   
         end   
      end
   end
end

Lemaradt egy  == köszi :P
EhPortal 1.39 © 2025, WebDev