Fandom

WoWWiki

API GetQuestLogPushable

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetQuestLogPushable

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

isPushable = GetQuestLogPushable();

ParametersEdit

ReturnsEdit

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

ExampleEdit

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

ResultEdit

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

NotesEdit

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

Also on Fandom

Random Wiki