I'm writing a script for a game where a random piece of the puzzle is revealed over intervals of 10 seconds. My problem is not seeing a way to use AddTimer in conjunction with a function. For instance, AddTimer("reveal",0,0,10,random_reveal(),timer_flag.Enabled,"") will not work because random_reveal() is not a string.
Is it possible, or will I be resolved to enabling and disabling the timer each time? The reason I want to use AddTimer, by the way, is that I can change the timer quite easily instead of having to edit the timer itself, so 10 seconds can turn to 5 seconds easily. Thanks.
Is it possible, or will I be resolved to enabling and disabling the timer each time? The reason I want to use AddTimer, by the way, is that I can change the timer quite easily instead of having to edit the timer itself, so 10 seconds can turn to 5 seconds easily. Thanks.