FANDOM


m
Line 35: Line 35:
   
 
: Code sample taken from ''\Interface\FrameXML\QuestLogFrame.lua:42'' (#4150)
 
: Code sample taken from ''\Interface\FrameXML\QuestLogFrame.lua:42'' (#4150)
  +
   
 
----
 
----
{{Template:WoW API}}
+
{{WoW API}}
[[Category:API Functions|GetQuestLogPushable]]
 
[[Category:API Quest Functions|GetQuestLogPushable]]
 

Revision as of 06:05, January 4, 2006

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

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