Modify timer action

We do miss an action in GDevelop, it’s called
Modify the value of a scene timer
Modify the value of an object timer

let’s say I have a scene timer that start at the beginning of the scene,
now I want it to be: If the value of that timer is Greater or Equal to 10 seconds
Action:
Modify the value of a scene timer Subtract 5 seconds

The results should be, every time the value of the timer hit 10 seconds, it goes back to 5 seconds.
We do have the condition to check the scene timer value, but we don’t have the action to change it.

2 Likes

I guess the action doesn’t exits because people would assume they can use the action to set a cool-down, but there is an extension that does it in this example (I needed to copy a timer from one object to another):

2 Likes