Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hi, I've noticed some issues with the Schedule intervals for states. 

I've set-up a state that is on a schedule (0.4s timeout, 3s interval, 8s variation), and noticed it's not keeping consistent with the interval / variation timing and sometimes firing multiple times in 1 second for instance.

Here's a small video of what I'm talking about: https://files.catbox.moe/c0zikf.mp4 (can be seen at 2s & 24s )

(2 edits) (+1)

Looks like it's working as intended: as it's set up, it will trigger the state any time between 0.4-11 seconds.

Variation is added-substracted to the interval, so if you want the timing to be, for example, between 3 and 8 seconds, interval would be set to 5.5s and variation to 2.5s (because 5.5-2.5=3 and 5.5+2.5=8).

Tell me if you need any more help or I explained something poorly, English isn't my first language.

TLDR: set interval to 5.5s and variation to 2.5s 😅

(+1)

Ahhh, i see. I was under the impression that the variation was added on top of the interval from the tooltip, I didn't realize it was both added and subtracted from the Interval. I was thinking it would trigger between at a minimum 3 seconds and at maximum 11 (3 + 8) seconds. 😅

So makes sense why it was triggering a bunch. Thanks for that info! 😀