Ok, so i have been programming a script but have run in to an error. I am trying to turn a set of lights on and off, the code for turning them on work perfectly, but i was wondering is there a code to turn them off as well? They're running through bundled cable. The code i am using for turning the lights on is this - rs.setBundledOutput("bottom", colors.white) and this does actually turn the lights on, but how would i turn the same piece of code into one that will turn the lights off, i've tried basic like changing rs.set into rs.unset but nothing? any help?
4 replies to this topic
#1
Posted 15 January 2013 - 08:43 PM
#2
Posted 15 January 2013 - 08:46 PM
this is in the wrong section... for coding advice/help post in ask a pro... however here is your answer...
rs.setBundledOutput("bottom", 0 )
rs.setBundledOutput("bottom", 0 )
#3
Posted 15 January 2013 - 08:53 PM
Thankyou, i didn't really know where to put it, sorry haha
#5
Posted 17 January 2013 - 08:50 AM
Moved to Ask a Pro.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users












