FANDOM


m
Line 38: Line 38:
   
 
: Code sample taken from ''\Interface\FrameXML\QuestLogFrame.xml:433'' (#4150)
 
: Code sample taken from ''\Interface\FrameXML\QuestLogFrame.xml:433'' (#4150)
  +
   
 
----
 
----
{{Template:WoW API}}
+
{{WoW API}}
[[Category:API Functions|QuestLogPushQuest]]
 
[[Category:API Quest Functions|QuestLogPushQuest]]
 

Revision as of 06:07, January 4, 2006

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

Community content is available under CC-BY-SA unless otherwise noted.