Could anyone explain a way that I could decrease the timer? I was following the video below and want to add a feature that game that will reduce the running time if the player steps on something.
For example if, someone stepped on a platform or was hit by a projectile it would decrease time.
Here are some screenshots
Leomerya12
(Leomerya12)
December 25, 2023, 5:17pm
3
Use the timer reference variable to clear and / or invalidate it:
[311039-annotation-2020-08-23-104535.jpg]
Check out other things that timer can do while you’re at it:
[311040-annotation-2020-08-23-104623.jpg]
The Set Timer by Event node is yet another alternative which may be preferable to Timer by Function as it’s not prone to typos.
Cancel the timer and then reset it.
Not sure if that would work for my timer, Im new to coding and the video I watched did it a different way.
Leomerya12
(Leomerya12)
December 25, 2023, 7:58pm
5
You have a “Set Timer By Event”, which can be canceled and reset… unless you’re talking about a timer somewhere else.
I know but I just have no idea how to go about following what they did, I have very little blueprint knowledge.
Leomerya12
(Leomerya12)
December 26, 2023, 7:55pm
7
Then you’re not ready to do what you want to do.
You’ll get there, but you need to learn how things work, first, not just copy and paste tutorials.
It all makes sense. But you have to understand what the program is telling you.
(Someone here may post the answer, but I really do want you to try and understand the above sequence, because it’s not that complicated.)