Posted 29 November 2015 - 12:20 AM
My question concerns the use of Bundled Cables; Specifically breaking down results from rs.getBundledInput(side) into a useable result to toggle and print color-specific "on/off" results.
I have been able to retrieve the aggregate numerical value of the total combined input by making use of:
However, I have not been able to break that result down into individual colors. I could, theoretically write an if/then statement for every possible combination of color but I have a feeling that there is a much more practical way to do it. Thanks for the help!
I have been able to retrieve the aggregate numerical value of the total combined input by making use of:
print(textutils.serialize(rs.getBundledInput(side))
However, I have not been able to break that result down into individual colors. I could, theoretically write an if/then statement for every possible combination of color but I have a feeling that there is a much more practical way to do it. Thanks for the help!