I basically need it in order to introduce a timer that is affected by game lag:
Here is how it could be done:
In this case, I want to replace the “60” in the formula with the game’s current framerate. That way if the framerate drops, the timer will also drop.
It would also be useful to have it in a condition in some cases, where if the game runs at a too low framerate, some effects can automatically be disabled.