DoAfterSpecial doesn't fire on 60 second increments

Posted by Driveby on Tue 14 Apr 2020 04:55 PM — 3 posts, 12,673 views.

#0
Running 5.05 so apologies if this has been fixed recently. I didn't see it in the release notes.

DoAfterSpecial won't fire for me if I set the seconds to a multiple of 60, e.g. 60, 120, 180, etc. 59 or 61 is just fine.
Australia Forum Administrator #1
I can't reproduce that in version 5.06.

When you do DoAfterSpecial, eg.


DoAfterSpecial (60 , "hi there", sendto.output )


You should be able to open the Timers configuration window and see that it is set to fire after 1 minute, and also the time to go (it does not update while the window is open).

I don't recall any bugs along those lines.
#2
I just tested this on a vanilla 5.05 install and it worked for me. No idea why it's not working in my particular game world. Thanks for taking the time to look into it!