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 whether you accept or reject these cookies being set.

Changing object value without triggering a script inside
#1
Hello, 

I have a script inside of boolean object which I need to set to 1, without triggering the script inside. Is there anything simpler than doing it with flags?
Reply
#2
Hi
What about if statement?
If 1 then do nothing else ....your script...end
BR
Reply
#3
This might help:
https://forum.logicmachine.net/showthread.php?tid=1178
Reply
#4
It's way more complicated than that, let me explain myself better. I'm controlling a LED strip with a single push button. However, the strip is ALSO controlled by Auro by Basalte (motion sensor). What pushbutton does is it enables blocking of the Auro only. The led strip itself is turned on by a script inside the block object. That means when I need to turn on light without it being affected by Auro I just press a button. The problem comes in when I also want to control brightness of the LED strip from Mosaic. Whenever I set brightness to a value, blocking object turns on as I want it to but automatically the script in the blocking object happens which I don't want.

Anyway, it has gotten way too complicated. I'll just do it with flag objects or with storage. Thank you very much anyways.
Reply


Forum Jump: