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.

Do event scripts overlap each other?
#1
Hello,

Let's say there is a event script which has a big os.sleep time and then during that time another event script(same event) is called, what will happen? Does the new one overlap the old one and the old one's actions after os.sleep time will happen anyway or the new script cancels any previous script immediately?
Reply
#2
Event scripts run in parallel. Using os.sleep with large time values is not recommended in event scripts. What kind of task do you have? This thread might be helpful as well: https://forum.logicmachine.net/showthread.php?tid=1893
Reply


Forum Jump: