Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API QuestLogPushQuest

From WoW Classic Wiki
QuestLogPushQuest -Documentation by Myrathi-

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

QuestLogPushQuest();

Arguments
none

Returns
<unknown>

Example
 <Button name="QuestFramePushQuestButton" inherits="UIPanelButtonTemplate" text="SHARE_QUEST">
   ...
   <Scripts>
     <OnClick>
       QuestLogPushQuest();
     </OnClick>
     ...
   </Scripts>
 </Button>
Result
<unknown>

Description
Attempt to share (push) the currently loaded quest in the quest window with other players.
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.


Code sample taken from \Interface\FrameXML\QuestLogFrame.xml:433 (#4150)



Template:WoW API