View Single Post
03/16/22, 11:39 AM   #9
Calamath
AddOn Author - Click to view addons
Join Date: Aug 2019
Posts: 36
Originally Posted by OneSkyGod View Post
4. Any other obstacles that would make this impossible to make happened or any other input you may have ?
Hi OneSkyGod,
I think you were lucky to inquire about feasibility before you began planning.
I am the author of the Quest Tracker add-on, so I am a bit familiar with this area.

I'm reluctant to discourage people from trying new things.
But I don't want you to be optimistic, so I will give you my personal view of the challenges you will face.


I think it would be challenging to implement your idea as an add-on.


As other authors have noted, it is possible to display some text there.
But if you want to add the correct guidance text for a specific objective there, you need to write down an algorithm to estimate what stage of what quest it is.

Details:
The Quest Journal is just like a display device.
Unlike stand-alone games, ESOUI does not have free access to the Quest database via API.

The Quest Journal does not know which quest is displayed.
Of course, there is no API to get the quest id.
But there is a library for the quest id issue, and it may not be difficult for you.

The Quest Journal also does not know what stage of progress each quest has reached.
There is no API to get the quest stage.
And you can only access quest data regarding the current quest stage in progress.
No add-ons are allowed to peek at objects about past quest stages or the current next stages.
Thus, you would have to write code to track a player's quest progress.
And you would have to accurately estimate the quest stage.
This would be a rather daunting task in my opinion.

- Calamath

Last edited by Calamath : 03/16/22 at 11:45 AM.
  Reply With Quote