How to get decimal wait values?

I seem to can only get integer wait values, so how may i get decimal wait values with the function?


We really need to do something about the spam here.
You need a remainder sign. The %sign is the code and give the remainder sign that Quest has.
This is the closest we have to a tutorial at the moment.
https://docs.textadventures.co.uk/quest/patrolling_npcs.html
Quest does not divide with decimals.


You can't. Timers are only accurate to within 1 second; and the lag between the Quest backend and frontend can be nearly a second in any case.

If you want something to be accurate within a secon, you'll need to use javascript. If you can give a better example of what you're trying to do, I might be able to suggest how to go about it.


Log in to post a reply.

Support

Forums