Make Timer.one_shot==true by default #10821
PixelTim
started this conversation in
General Discussions
Replies: 1 comment 6 replies
-
I'd say most users don't use timers this way most of the time, most of the time for one-shot purposes people would use But regardless this can't be done because it breaks compatibility and no one could use |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are different situations that make you turn this variable turn on or off, but I think that timer is mostly used without looping (
one_shot==true
), the examples are: player temporary invurnability after hit, temporary buff/debuff from a potion, cooldown of a skill, etc., so I think that it would be good to makeone_shot
probertytrue
by default. Of course, there still are situations where timer needs to be looped (one_shot==false
), examples: day/night cycle, periodically spawning something, etc., but in my case, I setone_shot==true
to most of my timers.Beta Was this translation helpful? Give feedback.
All reactions