24.10.2024, 06:30
Hi
You can simply enable/disable script using other event script.
Here is example of boolean object, event script
You can simply enable/disable script using other event script.
Here is example of boolean object, event script
Code:
value = event.getvalue()
if value then
script.enable('heater_on_off')
else
script.disable('heater_on_off')
end