Wikia

WoWWiki

API GetQuestsCompleted

Talk0
101,723pages on
this wiki
Revision as of 11:36, June 24, 2013 by Asett (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetQuestsCompleted

Returns a table of quests, that you have completed.

table = { GetQuestsCompleted() }

Returns Edit

table 
Completed quests IDs are stored as keys and all values should be "TRUE". {1="TRUE", 7="TRUE", 298="TRUE",...}

Notes Edit

Only available after QUEST_QUERY_COMPLETE event. To have quest IDs as values you can use this code:

QuestIDs = {}
for k,v in pairs({GetQuestsCompleted()}) do if v == "TRUE" then tinsert(QuestIDs, k) end end

Around Wikia's network

Random Wiki