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.
The "redstone" event (os.pullEvent)
Started by 3istee, Mar 13 2012 05:43 PM
1 reply to this topic
#1
Posted 13 March 2012 - 05:43 PM
#2
Posted 13 March 2012 - 06:03 PM
You can implement this yourself, take a look at this topic: http://www.computerc...generate-events
To prevent any misunderstanding:
Th linked topic is about the bundled cables from RedPower, but the principle that I'm referring to, applies to vanilla redstone too.
To prevent any misunderstanding:
Th linked topic is about the bundled cables from RedPower, but the principle that I'm referring to, applies to vanilla redstone too.
Edited by Espen, 13 March 2012 - 06:05 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











