- Joined
- Aug 1, 2009
- Messages
- 963
Okay, anyways, if any of you have tried to create a projectile system or custom movement system, you probably have noticed that there is a minimum interval for timers/periodic events/waits of 0.0625 seconds.
However, I figured out a workaround for it.
Basically I have a dummy unit in a corner that has a customized EMP ability with a Prepare Time of 0.03125. Then, I have a trigger that runs when the ability finishes casting, which will start a timer with 0.0625 intervals. My periodic event for moving stuff fires both every 0.0625 seconds and each time the timer expires.
Tested it, and it works.
EDIT: Jesus4Lyf from TH forums found a better, more efficient fix.
However, I figured out a workaround for it.
Basically I have a dummy unit in a corner that has a customized EMP ability with a Prepare Time of 0.03125. Then, I have a trigger that runs when the ability finishes casting, which will start a timer with 0.0625 intervals. My periodic event for moving stuff fires both every 0.0625 seconds and each time the timer expires.
Tested it, and it works.
EDIT: Jesus4Lyf from TH forums found a better, more efficient fix.
The way I discovered that was by using 0.0 waits, which seem to equate to 0.03125 in single player (God knows if that's the same for b.net, though - timers on 0 period still go to 0.0625 it seems, so...).
Last edited: