09.11.2018, 23:24
Is it possible to run multiple loops simultaneously`?
Code:
for i = 1, 10, 2 do
dosomething()
end
Best regards, Jørn.
Multiple loops
|
09.11.2018, 23:24
Is it possible to run multiple loops simultaneously`?
Code: for i = 1, 10, 2 do Best regards, Jørn.
10.11.2018, 00:33
(This post was last modified: 10.11.2018, 00:38 by Erwin van der Zwart.)
Hi,
Scripts are fall through so a single script content/commands will be executed in sequence. Just curious: Why do you need this? BR, Erwin
10.11.2018, 08:54
Okay, then i might just go with a resident script for this task. The goal was to dim down multiple sets of lighting groups with only one event script, all starting with their current seperate status values.
Best regards, Jørn.
10.11.2018, 09:28
Hi,
That won’t change it, you should create multiple scripts with your loops and trigger them with the same TAG then they will run at the same time. BR, Erwin
11.11.2018, 08:00
I know it won't change the function of the loop, so it would be a different script. But of course, i did not think of running multiple event scripts.
Thanks Erwin. Best regards, Jørn. |
« Next Oldest | Next Newest »
|