Wikia

WoWWiki

API QuestLogPushQuest

Talk0
98,585pages on
this wiki

Initiates the sharing of the currently viewed quest in the quest log with other players.

QuestLogPushQuest();

ExampleEdit

local i = 0;
while (GetQuestLogTitle(i+1) ~= nil) do
 i = i + 1;
 local title, level, tag, header = GetQuestLogTitle(i);
 if (not header) then
  SelectQuestLogEntry(i);
  if (GetQuestLogPushable()) then
   QuestLogPushQuest();
   DEFAULT_CHAT_FRAME:AddMessage(string.format("Attempting to share %s [%d] with your group...", title, level));
   return;
  end
 end
end

ResultEdit

Finds and shares the first sharable quest in your quest log.

NotesEdit

The system only attempts to push the quest to grouped players and will fail if a recipient is out of range (typically trading range), does not qualify for the quest (too low level or hasn't completed prior chain-quests) or has already completed it.

Advertisement | Your ad here

Photos

Add a Photo
62,230photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki