Posted 17 January 2013 - 11:08 PM
hello!
i need help with Bundle Cables to turn on and off with computer
so , i have a nuclear reactor wich working perfect , with a computer but i want to make this think
i have 3 lamps , 1 red , 1 yellow , 1 green
i use bundle cables , to connect all the 3 lam , 2 door ,1 cooling system , and the nuclear reactor ! Its working fine , but i have one little problem with these cables
when the reactor is on idle , i want the red lamp turn on ( oke its workin)
when the reactor working , the green lamp turn on (its working 2)
when the door is opend , the yellow light up 2 , but if still i have exemple the red lamp on , dont turn the red off , and turn on the yellow , turn on all 2 ! , but if the green lamp was lightnen up , turn on the yellow and green,!
sorry for my language . i speak a little bad the english..
i think somthing like this :
if
c = colors.combine ( c, colors.red )
rs.setBundledOutput("back", c ) == true – turns on the red
then
c = colors.combine ( c, colors.yellow )
rs.setBundledOutput("back", c ) – turns on yellow leaving red on
end
i need help with Bundle Cables to turn on and off with computer
so , i have a nuclear reactor wich working perfect , with a computer but i want to make this think
i have 3 lamps , 1 red , 1 yellow , 1 green
i use bundle cables , to connect all the 3 lam , 2 door ,1 cooling system , and the nuclear reactor ! Its working fine , but i have one little problem with these cables
when the reactor is on idle , i want the red lamp turn on ( oke its workin)
when the reactor working , the green lamp turn on (its working 2)
when the door is opend , the yellow light up 2 , but if still i have exemple the red lamp on , dont turn the red off , and turn on the yellow , turn on all 2 ! , but if the green lamp was lightnen up , turn on the yellow and green,!
sorry for my language . i speak a little bad the english..
i think somthing like this :
if
c = colors.combine ( c, colors.red )
rs.setBundledOutput("back", c ) == true – turns on the red
then
c = colors.combine ( c, colors.yellow )
rs.setBundledOutput("back", c ) – turns on yellow leaving red on
end