CS2D
General
Cron
Cron
2 repliesLee Moderator
Offline
Is it possible to expose a function into the lua engine and have the CS2D engine call it once every second? This would provide a relatively stable hook for any scheduled and repetitive events in CS2D. DC Admin
Offline
already implemented
always - every framme
second - every second
minute - every minute Lee Moderator
Offline
sweet, I was just wondering what I could hook onto to get a cron system up :D, I actually ended up with a system that hooks up onto every function with the name of "hook_****" except for a few that are called through a cron.doNotSubscribeToHook() function. Which indeed made the cfg file look really bizarre.