Forum

> > CS2D > General > Cron
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Cron

2 replies
To the start Previous 1 Next To the start

old closed Cron

Lee
Moderator Off Offline

Quote
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.

old Re: Cron

DC
Admin Off Offline

Quote
already implemented

always - every framme
second - every second
minute - every minute

old Re: Cron

Lee
Moderator Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview