ID:155295
 
I wanted to set up a time based event, or events that would refresh vars of my choices, at the given time.

Example:

Lets say i'm playing a turn based game....or even a time based one.


After 20mins or so, lets say the player gains....1 turn... or their resources update....or something changes...the details dont really matter.

How would I go about setting this up?

Would this be under world/client/ or set up as a proc, and called from mob?
I suggest looking at Deadron's Event Loop library. It will help you do timer-based actions like this a lot easier.