02.05.2024, 07:38
Use this resident script. Sleep time controls when the next lamp will be turned on. Any number of objects can be specified.
This script can be enabled/disabled from a different script using these functions: https://kb.logicmachine.net/libraries/lu...enablename
Code:
objects = {
'0/0/1',
'0/0/2',
'0/0/3',
}
curr = (curr or 0) + 1
if curr > #objects then
curr = 1
end
if prev then
grp.checkwrite(objects[ prev ], false)
end
grp.checkwrite(objects[ curr ], true)
prev = curr
This script can be enabled/disabled from a different script using these functions: https://kb.logicmachine.net/libraries/lu...enablename