Page 1 of 1

Stop switching to new active quest

Posted: Wed Feb 10, 2021 7:39 pm
by cptscrimshaw
Hi Tony,

I'm hoping this is super easy and I just couldn't find it in the documentation or forum :)

Is there a way to not immediately set a newly-obtained quest as the current quest in the HUD and Journal when it becomes active?

The goal would be something like the Witcher 3 where if you get a new quest it doesn't change your current quest, but you can hit a button (after seeing a popup on the screen) to activate it if you want to.

Thanks!

Re: Stop switching to new active quest

Posted: Wed Feb 10, 2021 8:23 pm
by Tony Li
Hi,

If you untick "Show In Track HUD", then it will not show the quest in the HUD as soon as it becomes active.

qmShowInTrackHUD.png
qmShowInTrackHUD.png (18.2 KiB) Viewed 449 times

The player can go into the journal UI and turn on tracking for the quest, or you can write a script that turns on tracking:

Code: Select all

quest.showInTrackHUD = true;
QuestMachineMessages.RefreshUIs(quest);
The quest journal UI doesn't automatically show the quest that just became active. It remembers the quest the player last viewed.

Re: Stop switching to new active quest

Posted: Wed Feb 10, 2021 8:32 pm
by cptscrimshaw
Thanks!

I definitely tried that before and it didn't work, but this time it did. So I'll count that as a win :)

Re: Stop switching to new active quest

Posted: Wed Feb 10, 2021 9:10 pm
by Tony Li
Glad to help!