Blockland Forums > Help
onRelay
Pineappleman47:
How do you use it?
I know it's a loop...
but how do I use it?
ScratchTehEPICSpaceDude:
You would do:
input event here -> Self -> fireRelay
onRelay -> Self -> fireRelay
Treynolds416:
And for the action you want to repeat, use OnRelay as well
ScratchTehEPICSpaceDude:
NOEDIT:
If you wanted to do a loop:
input event here -> Self -> fireRelay
onRelay -> Self -> fireRelay
To fire a relay to a brick far away:
input event here -> <NAMED BRICK> -> fireRelay
To fire a relay to a brick right next to the brick you evented:
input event here -> Self -> fireRelayUp/Down/North/South/East/West
To use a relay, wrench the brick you sent the relay to, then:
onRelay -> Self/<NAMED BRICK> -> output event here
Firecycle:
http://blocklandworld.wikia.com/wiki/Relays