So im using bundled cable and i was wondering how do i send a redstone pulse out of a certain color?
Please help me thanks.
Help me with a redstone problem
Started by CardingiSFun, Oct 18 2012 10:42 PM
7 replies to this topic
#1
Posted 18 October 2012 - 10:42 PM
#2
Posted 18 October 2012 - 10:44 PM
rs.setBundledOutput("SIDE", colors.COLOR)
#3
Posted 18 October 2012 - 10:46 PM
then what would i do? cause im using multiple colors and i want to do multiple outputs from the back cable only
#4
Posted 18 October 2012 - 10:52 PM
Nvm u were right
#5
Posted 18 October 2012 - 11:52 PM
http://i.imgur.com/7ZMzd.png
i get this error and on that line
the code is rs.setBounledOutput("back", colors.white)
i get this error and on that line
the code is rs.setBounledOutput("back", colors.white)
#6
Posted 19 October 2012 - 12:01 AM
CardingiSFun, on 18 October 2012 - 11:52 PM, said:
http://i.imgur.com/7ZMzd.png
i get this error and on that line
the code is rs.setBounledOutput("back", colors.white)
i get this error and on that line
the code is rs.setBounledOutput("back", colors.white)
Most of the time that is a tell-tale sign for a typo.
In your case you tried to call rs.setBounledOutput, when really it should be rs.setBundledOutput.
#7
Posted 19 October 2012 - 12:32 AM
So this is the updated code: rs.setBundledOutput("back", colors.orange)
but i want to make it pulse once just turn on then turn off how would i do that?
but i want to make it pulse once just turn on then turn off how would i do that?
#8
Posted 19 October 2012 - 01:22 AM
CardingiSFun, on 19 October 2012 - 12:32 AM, said:
So this is the updated code: rs.setBundledOutput("back", colors.orange)
but i want to make it pulse once just turn on then turn off how would i do that?
but i want to make it pulse once just turn on then turn off how would i do that?
For example:
rs.setBundledOutput("back", colors.orange) -- set output to orange
sleep(0.5) -- sleep for half a second
rs.setBundledOutput("back", 0) -- turn off the output
Mind you though this doesn't preserve the value the output was in before the pulse. It will just turn off the output completely after the pulse.If you want to preserve the output from what it was before the pulse, then remember to save it to a variable beforehand, or better yet, make use of colors.combine() and colors.subtract().
Also see "help redstone" and "help redpower" for more info.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











