Lately, some of my scripts that use GetSecondsPassed are counting seconds too quickly. Like, I'll set a script to trigger a messagebox every five seconds, but it'll trigger it roughly every second. Other scripts are working fine! It's nothing very complicated, things like:
float aitimer set aitimer to ( aitimer + GetSecondsPassed ) if ( aitimer > 5 ) set reboot to ( state - 1 ) set aitimer to 0 messagebox "AI timeout" return endif endif
...and the AI timeout message gets triggered far too many times, more than once every 5 secs. Anyone seen this kind of thing before, or must I be missing something somewhere?