WoW:API GetQuestLogPushable

Revision as of 06:05, 4 January 2006 by WoWWiki>Muert
GetQuestLogPushable -Documentation by Myrathi-

Returns true if the currently loaded quest in the quest window is able to be shared with other players.

GetQuestLogPushable();

Arguments
none

Returns
Boolean

Example
 -- Determine whether the selected quest is pushable or not
 if ( GetQuestLogPushable() and GetNumPartyMembers() > 0 ) then
   QuestFramePushQuestButton:Enable();
 else
   QuestFramePushQuestButton:Disable();
 end
Result
true | false

Description
Returns true if the currently loaded quest in the quest window is able to be shared with other players ("pushable" simply meaning "sharable").
To initiate pushing of a quest, see QuestLogPushQuest().


Code sample taken from \Interface\FrameXML\QuestLogFrame.lua:42 (#4150)



Template:WoW API