Delay manager

Utils Delay manager 1

smarrtie

Moderator
Staff member
Secured Scripter
smarrtie submitted a new resource:

Delay manager - are you bored of making timers over and over again? use this instead :D

This library will allow you to dynamically implement timers that don't need infinite amount of variables to track, you can toggle whether or not a delay should tick, get all the delays you made, tick them one at a time or all at the same time, basically a happy thing, usage is mostly as follows

LUA:
local dm = require("delaymanager")

dm.add("attack", 8) -- create a delay for 8 tick units

dm.setDelay("attack", 10) -- update the delay to 10 tick units

dm.toggle("attack") -- switch the...

Read more about this resource...
 
Back
Top