19.09.2022, 12:21
Thank you, at my side it wasn't working, maybe because my object '1/4/5' was a switch 01.001 data type?
I changed it to
to get this working.
I changed it to
Code:
if state == true
then script.set('12.01 Check if Light can turn Off', true)
else
then script.set('12.01 Check if Light can turn Off', false)
end