Alerts Playing Again After Load?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
OutbackGames
Posts: 14
Joined: Fri Mar 19, 2021 7:38 am

Alerts Playing Again After Load?

Post by OutbackGames »

I have noticed this a while back and have only just got around to having a look at fixing it. Alerts seem to play again after loading in the data from the PixelCrusher's SaveSystem, regardless of whether it's combined with MMSaveAndLoadManager or not.

It's a bit tricky for this post as well, as I'm not sure if it's dialogue system or quest machine, however, it is dialogue system handling the alerts so I'm posting here.

What I'm noticing:
The game loads up.
The system restores the states
The Alerts are set to play on the true state of a quest condition node.
When loaded these nodes replay the alerts.
I have two quests, I have not yet seen it play through further than the previous quest, but I have the feeling it might play alerts for all of the future quests.

Is there a setting that I may be missing or is this something that shouldn't be happening at all?
User avatar
Tony Li
Posts: 21638
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alerts Playing Again After Load?

Post by Tony Li »

Hi,

When loading a saved game or restoring a scene's saved state after a scene change, quests will not re-run their actions. Otherwise, if for example a quest gave a reward in a True/Successful action, then every time you loaded a saved game where that quest was complete, it would give another copy of the reward to the player again.

Are the alerts perhaps being played by a Dialogue System Trigger set to OnStart or OnEnable?

Would it be possible for you to send a reproduction project and reproduction steps to tony (at) pixelcrushers.com?
OutbackGames
Posts: 14
Joined: Fri Mar 19, 2021 7:38 am

Re: Alerts Playing Again After Load?

Post by OutbackGames »

Hi sorry for the late reply here, I've got another post coming that will addresses this as a side note. :)

https://www.pixelcrushers.com/phpbb/vie ... f=9&t=4800
Post Reply