Jump to content

Ayuda a corregir esta quest


stein20

Recommended Posts

Hola todos, disculpenme que les moleste eh estado intentando hacer funcionar esta que de una manera diferente lo que quiero exactamente es que no teleporque todo el mapa solo los players que estan en el grupo.

 

   local s = select("Si", "No")
  if s == 1 then

   if party.get_near_count() >=1 then
 pc.remove_item("50150")
 d.new_jump_all(12, 5106 , 4089)
 notice_all("".. pc.get_name() .." y su equipo han entrado a el reto atlantida!!")



aca hay otra duda y disculpen

 when 33004.chat."Cuatro cristales" with pc.get_map_index() >= 120000 and pc.get_map_index() < 129999 begin

como hago para que solo el lider del party pueda utilizar este npc?

 

de antemano muchas gracias :D

Link to comment
Share on other sites

1 - La condicion para que haya gente de tu party cerca esta bien, pero un d.new_jump_all se llevara a todos los que se encuentre en el mapa.

 

2 -

when 33004.chat."Cuatro cristales" with pc.get_map_index() >= 120000 and pc.get_map_index() < 129999 begin
when 33004.chat."Cuatro cristales" with pc.get_map_index() >= 120000 and pc.get_map_index() < 129999 and party.is_leader() begin
Link to comment
Share on other sites

1 - La condicion para que haya gente de tu party cerca esta bien, pero un d.new_jump_all se llevara a todos los que se encuentre en el mapa.

 

2 -

when 33004.chat."Cuatro cristales" with pc.get_map_index() >= 120000 and pc.get_map_index() < 129999 begin
when 33004.chat."Cuatro cristales" with pc.get_map_index() >= 120000 and pc.get_map_index() < 129999 and party.is_leader() begin

keko eres el putisimo amo de las quest..! diras pero esta quest tan facil?? se es facil pero me refiero a todas las que corrijes ves el error al instante.

Link to comment
Share on other sites

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...