Yesterday, 09:11
Can you explain the 1% logic? If the timer value is 1 then nothing should happen or should it turn on the actuators?
If 0 = off, 1..100 = on then the following script should do what you need.
If 0 = off, 1..100 = on then the following script should do what you need.
Code:
value = event.getvalue()
on = value > 0
if on then
grp.checkwrite('1/0/1', value)
end
for i = 1, 7 do
grp.checkwrite('1/1/' .. i, on)
end