Posted 28 December 2016 - 07:07 PM
Hey there,
is it possible to create custom events, for example, if i want to get the event of an reactor shutting down or going active(BigReactors API)
My goal is to achieve something similar to the Redstone-Event which is triggered when the Reactor-State changes, so i can send a message via a wireless modem without jamming the channel with an endless loop.
is it possible to create custom events, for example, if i want to get the event of an reactor shutting down or going active(BigReactors API)
reactor = peripheral.wrap("back")
...
local event = os.PullEvent("reactor_change")
doSomething()
Something like that maybe.My goal is to achieve something similar to the Redstone-Event which is triggered when the Reactor-State changes, so i can send a message via a wireless modem without jamming the channel with an endless loop.