This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Need Help with Lua Script for Group Object Control
#2
It would be better to do it differently. Instead of making your own timer just use object update time and compare it with os.time to see how long the object was not updated.
Code:
myobject = grp.find('1/1/1')
log(myobject.updatetime)
------------------------------
Ctrl+F5
Reply


Messages In This Thread
RE: Need Help with Lua Script for Group Object Control - by Daniel - 17.07.2023, 07:56

Forum Jump: