Wikia

WoWWiki

Watchlist Recent changes

API GetQuestLogPushable

Main Menue



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().

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki