Hello Razmaz, is absolutely possible to save the timer count, the problem is that I’m now away for a couple of weeks and i don’t have a pc, anything I can do now is addressing you about how to do that or a couple of valid solution.
- in most games developers disable the save function in some place, so a fast and easy way can be disable it when overlap begin and re-enable it when overlap end or much better you can create a new reusable actor that disable save in some area for example, this method is the most used nowday, you may ask why, let’s suppose this situation:
i buy your game, start playing for like 1 hour saving always in the same slot, then i enter inside the overlap and save it before the timer is about to end, for stupidity or for distraction maybe? what happen if is now impossible to go out from that overlap because the timer count is not enought? A die loop, the player will be stuck inside a load - die loop, starting over is frustrating you know? Prevent saving inside some area can be a safety solution also for the player, if i die inside a overlap event i can always load the game just before it and try again, if I die inside an overlap saving some second before is a no-way-out (except if the count will be resetted like happen actually)
- the second way is more close what you asked, working with the Save system, but you need to edit the timer a bit, you need to store the timer “active” boolean and also the timer count, and I think you need to store also what timer actor is referring to and when you load the save game you just need to load and set this variables.
i can suggest you to take a look at the save tutorial from epic games for know how to store and load variables:
https://docs.unrealengine.com/en-US/…ame/Blueprints
but my suggestion is to disable the save system in dangerous area, like this one, is more frustrating to start from a new save than dying and try again