Posted 13 March 2012 - 05:43 PM
Hey,
I think the redstone event which os.pullEvent returns should have more parameters,
the side and if it was switched on or off.
This would make many things easier and less buggy,
because at the moment when you want to know if a redstone input on the left side (just for example)
turns on, you have to ask if any side got powered, and ask if the side is powered, too.
This could result in bugs because it is possible that this side already powered before.
I think the redstone event which os.pullEvent returns should have more parameters,
the side and if it was switched on or off.
This would make many things easier and less buggy,
because at the moment when you want to know if a redstone input on the left side (just for example)
turns on, you have to ask if any side got powered, and ask if the side is powered, too.
This could result in bugs because it is possible that this side already powered before.