Logic Machine Forum
How to change object value with no event call? - 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: How to change object value with no event call? (/showthread.php?tid=4516)



How to change object value with no event call? - Andey - 19.01.2023

Hello.
Does there is a way to change object value but with no object event call? 
For example there is object '1/1/1' with event script. And there are some other scripts. From first script value of object '1/1/1' is changed and event of object '1/1/1' must be called. But when second script change value of object '1/1/1' event script must not be called.
How to implement this feature?


RE: How to change object value with no event call? - admin - 20.01.2023

Event script is executed for all writes. You can check event.sender value to determine whether to execute certain actions or not. See this: https://forum.logicmachine.net/showthread.php?tid=1178