Jetfire Posted October 12, 2005 Posted October 12, 2005 To all, Hi and S!. I haven't been here in a while, so it's good to be back ;) To the Devs, Beta Testers, or anyone who might know: I want to make a script that has a timer, so, for example, it would run a function every 10 minutes, and not all the time. This script would be called from, probably, view.lua so clients can log data. Basically, this script could be called from any script that runs when the game loads, except for export.lua, because export.lua is not used if you are a client on a server. My only problem is: I need to make a timer of some kind so this function doesn't run all the time, only every 10 minutes or so. I know Lua has coroutines which are somewhat like Threads, but they lack timer functionality (to my knowledge). Also, I have no idea if Lua works with signals, but I was not able to find info on it. Regards and Thanks, =RvE=Jetfire
Recommended Posts