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.

event script e os.sleep
#4
You have this check: if(value~=OldVal) then but you say you want to execute a certain action only when a value has not changed in the past 15 seconds.
I think an event script is not a ideal solution here because each value change will trigger another script. How often does this value change? You can try a resident script that checks the object value every second and resets/increases a timer variable depending whether the value has changed or not.
Reply


Messages In This Thread
event script e os.sleep - by Frank68 - 18.11.2020, 10:15
RE: event script e os.sleep - by admin - 18.11.2020, 10:20
RE: event script e os.sleep - by Frank68 - 18.11.2020, 12:40
RE: event script e os.sleep - by admin - 18.11.2020, 14:27

Forum Jump: