Author Topic: fire relay north,south......  (Read 442 times)

i don't get the firerelay X event.How do you use it?if the relay hits a brick in that direction,will it set off a onrelay on the hit brick?please help,i really want to know how to use these.

if the relay hits a brick in that direction,will it set off a onrelay on the hit brick?
Yes, but the bricks have to be touching.

Yes, but the bricks have to be touching.
ah,could you give me an example of how you would use this?

one brick next to another
first brick:
onactivate>self>firerelay(dirrection to other brick)

second brick:
onrelay>self>setlight[playerlight]
onrelay>self>setlight[none] (disabled)
onrelay>self>toggleeventsenabled[0 1]

tadah, you made a light without named bricks, using a button

forgot to add, just remembered to tell you that you can make relay chains, by doing onrelay>self>firerelay(dirrection)
to other bricks, which then if they're touching eachother, you can make a chain of relays, to go from point A to point B

thanks.so i could have a main brick and 4 bricks on each side,then i could have up to 5 function?(fifth one is just firerelay)

pretty much
or you could do it on one brick, whichever you prefer (unless you run out of event lines, then the relays to other bricks would be useful)