WoW API < GetQuestLogPushable

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

isPushable = GetQuestLogPushable();

Parameters[edit | edit source]

Returns[edit | edit source]

isPushable 
Boolean - 1 if the quest can be shared, nil otherwise.

Example[edit | edit source]

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

Result[edit | edit source]

QuestFramePushQuestButton is enabled or disabled based on whether the currently active quest is sharable (and you being in a party!).

Notes[edit | edit source]

Use SelectQuestLogEntry(questID) to set the currently active quest before calling GetQuestLogPushable(). To initiate pushing (sharing) of a quest, useQuestLogPushQuest().

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