Page 1 of 1

Alerts Playing Again After Load?

Posted: Fri Mar 19, 2021 10:24 am
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?

Re: Alerts Playing Again After Load?

Posted: Fri Mar 19, 2021 11:25 am
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?

Re: Alerts Playing Again After Load?

Posted: Mon Aug 23, 2021 5:28 am
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