WoW:API QuestLogPushQuest

Revision as of 17:31, 12 February 2005 by WoWWiki>Myrathi
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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