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 that you accept these cookies being set.

Multistate value
#7
(25.03.2021, 10:56)admin Wrote: Why are you writing multiple values one after one?
Keep only one write and replace value = 1 with value = event.getvalue() so you actually write the current object value not a fixed value.

Because I am new with this Lua scripting, that is why Wink
Thank you, this helped
Reply


Messages In This Thread
Multistate value - by Alexander - 25.03.2021, 08:34
RE: Multistate value - by admin - 25.03.2021, 08:37
RE: Multistate value - by Alexander - 25.03.2021, 08:44
RE: Multistate value - by admin - 25.03.2021, 08:45
RE: Multistate value - by Alexander - 25.03.2021, 10:48
RE: Multistate value - by admin - 25.03.2021, 10:56
RE: Multistate value - by Alexander - 25.03.2021, 11:11

Forum Jump: