Skip to content

Teleport Leader

Featured Replies

[BR]

 

Galera fiz um teletransporte não disponível Teleport vip, só que é o seguinte eu quero que só para para teleportar estando em party (BOM ATE EU EU CONSEGUI FAZER DE BOA)

Mas o X da questão, que eu realmente quero é que apenas o Líder da festa de para teletransportar uma festa e assim teleportando todos juntos, o que eu fiz cada jogador tem que clica sem NPC para poder teleportar, me perguntei HELP ficaria eternamente grato!

 

[ENG]

 

Personal I made a teleport based on the Teleport vip, but that is the following, I want l that only  teleport being in party (good to'e here I was able to do)
But the X of the question, what I really want is that only the Leader of PARTY teleport so, teleporting all together, what I did, each player has to click on the NPC to teleport, help me, I would be eternally grateful!

 

here is my script

 

qn = "7000_VipTeleport"

class Quest (JQuest) :

 def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 def onAdvEvent (self,event,npc,player):
    party = player.getParty()
    if event:
    party = player.getParty()
    if not party: return "no-party.htm"
    if party.getMemberCount() != 3: return "only-two.htm"
    player.teleToLocation(210989, 55033, -14886)
    return "registered.htm"
    return event

 def onTalk (self,npc,player):
   st = player.getQuestState(qn)
   if not st :
      return ""
   return "20712-1.htm"

QUEST       = Quest(-1,qn,"Teleports")
QUEST.addStartNpc(7077)
QUEST.addTalkId(7077)

 

 

 

Edited by legend19

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.