13.02.2019, 07:37
I've tested this code but it doesn't work, you can try in such way. Please create 2 objects "C1" and "C2".
"C1" should has such event script:
And please fast(<5s) send to "C1" 1 and 2.
"C2" should be changed only to 2, but is changed to 1 and isn't changed into 2. And this is little strange for me because I don't know why it isn't changed then into 2. Could you explain admin
"C1" should has such event script:
Code:
value = event.getvalue()
-- At script begin
script.disable(_SCRIPTNAME)
-- some code
os.sleep(5)
grp.update("C2", value)
-- at script end
script.enable(_SCRIPTNAME)
And please fast(<5s) send to "C1" 1 and 2.
"C2" should be changed only to 2, but is changed to 1 and isn't changed into 2. And this is little strange for me because I don't know why it isn't changed then into 2. Could you explain admin
Done is better than perfect