(05.05.2020, 13:25)Thanks a lot. I will try. But can I use while do' or 'repeat until' ?Daniel. Wrote: I would do it by two scripts. First event attached to your 1/1/1 which will enable/disable the second resident script.
Second is resident script with interval of 1s and such code.Code:value = event.getvalue()
if value then
script.enable('loop')
else
script.disable('loop')
end
In this example I called resident script 'loop' if you use different name change it in the first scriptCode:grp.write('1/1/2', true)
os.sleep(1)
grp.write('1/1/3', true)
os.sleep(1)
grp.write('1/1/4', true)
Time loop control
|
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Time loop control - by 38348259 - 05.05.2020, 13:12
RE: Time loop control - by Daniel - 05.05.2020, 13:25
RE: Time loop control - by 38348259 - 05.05.2020, 13:59
RE: Time loop control - by Daniel - 05.05.2020, 14:03
RE: Time loop control - by 38348259 - 05.05.2020, 14:12
|