Stop switching to new active quest

Announcements, support questions, and discussion for Quest Machine.
Post Reply
cptscrimshaw
Posts: 113
Joined: Sun Sep 20, 2020 8:21 pm

Stop switching to new active quest

Post 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!
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Stop switching to new active quest

Post 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 451 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.
cptscrimshaw
Posts: 113
Joined: Sun Sep 20, 2020 8:21 pm

Re: Stop switching to new active quest

Post 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 :)
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Stop switching to new active quest

Post by Tony Li »

Glad to help!
Post Reply