Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API QuestLogPushQuest
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} __NOTOC__ Initiates the sharing of the currently viewed quest in the quest log with other players. QuestLogPushQuest(); ==Example== local i = 0; while (GetQuestLogTitle(i+1) ~= nil) do i = i + 1; local title, level, tag, header = GetQuestLogTitle(i); if (not header) then SelectQuestLogEntry(i); if (GetQuestLogPushable()) then QuestLogPushQuest(); DEFAULT_CHAT_FRAME:AddMessage(string.format("Attempting to share %s [%d] with your group...", title, level)); return; end end end ===Result=== Finds and shares the first sharable quest in your quest log. ==Notes== The system only attempts to push the quest to grouped players and will fail if a recipient is out of range (typically trading range), does not qualify for the quest (too low level or hasn't completed prior chain-quests) or has already completed it.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)