FOR TABLE BUILDERS:
Don’t copy my script, I experimented a lot with the flasher effects, and I left a lot of garbage in the script.
Instead, I think each solenoid as it’s own sub is the simplest way to do this. I don’t recommend putting them through JP’s light routine because you’ll lose some updates – Congo updates the flasher routines really quickly.
‘SolCallback(17) = “Sol117”
‘SolCallback(18) = “Sol118”
‘SolCallback(19) = “Sol119”
‘SolCallback(20) = “Sol120”
‘SolCallback(21) = “Sol121”
‘SolCallback(22) = “Sol122”
‘SolCallback(23) = “Sol123”
‘SolCallback(24) = “Sol124”
SolModCallBack(17) = “Sol117”
SolModCallBack(18) = “Sol118”
SolModCallBack(19) = “Sol119”
SolModCallBack(20) = “Sol120”
SolModCallBack(21) = “Sol121”
SolModCallBack(22) = “Sol122”
SolModCallBack(23) = “Sol123”
SolModCallBack(24) = “Sol124”
Then each sub like this, using Intensityscale and State (without adjusting the state, lights will flicker off rather than fade off)
Sub Sol117(Value)
Value = Value
if value = 0 then
F17.state=0
F17a.state=0
F17b.state=0
else
F17.state=1
F17a.state=1
F17b.state=1
end if
F17.Intensityscale=Value * 1/255
F17a.Intensityscale=Value * 1/255
F17b.Intensityscale=Value * 1/255
End Sub
You need to login in order to like this post: click here

