ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   See if quest is ready for turn in (https://www.esoui.com/forums/showthread.php?t=9007)

Grumpy132 03/01/20 03:08 PM

See if quest is ready for turn in
 
Hi, I want to detect if a quest in the journal is ready for turn in. how can i accomplish this?

I have tried using "GetJournalQuestInfo(index)" and check if currentStepType == QUEST_STEP_TYPE_END, but for some quests it seems like the currentStepType variable is QUEST_STEP_TYPE_OR just before the turn in.

do I need to check something else, do both of them mean the quest is over, does this even have anything to do with this?

for now I am comparing the current questText with the text of the last step of the quest, if available. And that seems to work so far but it would be nice not having to rely on comparing strings if there is a better way.


All times are GMT -6. The time now is 05:50 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI