View Single Post
01/07/16, 09:35 PM   #3
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Your looking for this:
Lua Code:
  1. local function UpdateQuestInfo()
  2.     local allQuests, allCategories, seenCategories = QUEST_JOURNAL_MANAGER:GetQuestListData()
  3.     ...
  4.    
  5. end
  6.  
  7. local OrigRefreshQuestMasterList = ZO_QuestJournal_Keyboard.RefreshQuestMasterList
  8. function ZO_QuestJournal_Keyboard:RefreshQuestMasterList()
  9.     OrigRefreshQuestMasterList(self)
  10.    
  11.     UpdateQuestInfo()
  12. end


Here is an example of how to do it:
Warning: Spoiler


The above code allows you to create quest categories and quests and add them to the journal, but as merlight said there are problems you might run into like MAX_JOURNAL_QUESTS & all of the quest functions that use any quest info like questIndex. You would probably have to hook all of them and handle them yourself or you would probably crash any addon that works with quests. Also who knows what trouble you might run into if ZOS code runs some private functions or something server side and attempts to use your fake questIndex or any of your other fake quest info.

Last edited by circonian : 01/07/16 at 09:59 PM.
  Reply With Quote