Do event scripts overlap each other? - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Do event scripts overlap each other? (/showthread.php?tid=2083) |
Do event scripts overlap each other? - MantasJ - 15.05.2019 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? RE: Do event scripts overlap each other? - admin - 15.05.2019 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 |