Is there a way that i can do an event like this?
- Every <n> seconds
in example it could be used to do something like: every (alt A (active)) -> do something...
Is there a way that i can do an event like this?
- Every <n> seconds
in example it could be used to do something like: every (alt A (active)) -> do something...
There have been a few times when I wished the ‘Every’ event let you use a calculation to determine how often something happens. The way I get around it is something like this:
Use Alterable Value A as a timer and use Alterable Value B to store n where n can be varied.
-Every 1 second -> Sub 1 from Alterable Value A
-Alterable Value A = 0 -> Set Alterable Value A to Alterable Value B AND (Do event you want to happen every n seconds)
Sometimes the first event will be 'Every 1 milliseconds' or some other period of time depending on the frequency that might be required.
Yeap, there are workarounds... But still too much fuzz for something so simple![]()
Here's another idea.
I am not very familar with loops... Could you please tell me where the loop is defined? I cannot find it...
it's on line 12.