UI Hud sometines doesn't refresh

Announcements, support questions, and discussion for Quest Machine.
Post Reply
GorkaGames
Posts: 178
Joined: Fri Sep 21, 2018 8:38 pm

UI Hud sometines doesn't refresh

Post by GorkaGames »

Hi,

My UI Hub sometimes doesn't refresh with the new information that I put on the quest states, on the Hud text (Active or true), is this something normal? Can we on the meantine force to refresh with some directive?

Thanks.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: UI Hud sometines doesn't refresh

Post by Tony Li »

Hi,
GorkaGames wrote: Mon Sep 24, 2018 11:02 amMy UI Hub sometimes doesn't refresh with the new information that I put on the quest states, on the Hud text (Active or true), is this something normal?
No, it's not normal. How are you changing it?

GorkaGames wrote: Mon Sep 24, 2018 11:02 amCan we on the meantine force to refresh with some directive?
Yes:

Code: Select all

QuestMachineMessages.RefreshUIs(null);
The QuestJournal component listens for these messages: Refresh UIs, Quest State Changed, and Quest Counter Changed. When it receives those messages, it updates the HUD and the journal UI if it's open.
GorkaGames
Posts: 178
Joined: Fri Sep 21, 2018 8:38 pm

Re: UI Hud sometines doesn't refresh

Post by GorkaGames »

It happens to me also in one case (no more for now) when we have a "Quest State Changed" (from inactive to active should get refreshed) and only refresh when the counter gets refreshed.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: UI Hud sometines doesn't refresh

Post by Tony Li »

If you can reproduce the issue, please let me know the steps to reproduce it.
Post Reply