Blockland Forums > Suggestions & Requests

Relay Types

Pages: (1/1)

Choneis:

Really simple, I do not have the source code for brick relays so I doubt I can do this, and besides, I think it should be default.

On a 'firerelay' event of any direction, a drop bar is available to change the type from default 'normal' to a variety of types, one two etc... however amount is reasonable and needed.

and on the recieving side, the onRelay recieves the same treatment.

as another measure, an 'All types' should be another option for the onRelay event.

- I typed out an example, might as well put it in OP

No, when I relay is sent it has a variable associated with it to get a different responce.

For example, a plate brick sends a relay to a screen.

On activate, fireRelay (Normal)
On touch, fireRelay (Type One)

for the screen.

onRelay (Normal) - Change colour red
onRelay (Type One) - Change colour blue
onRelay (Any) - spawnexplosion (Pong)

so when the plate is activated, the screen turns red and spawns a pong explosion
when the plate is stepped upon, the screen turns blue and spawns a pong explosion

GEN.Fire Bird:

Perhaps:
FireInfiniteRelay
FireBiRelay(2)
OnNoRelay
OnFirstRelay
OnInfiniteRelay
?

Choneis:


--- Quote from: GEN.Fire Bird on September 05, 2012, 01:18:31 PM ---Perhaps:
FireInfiniteRelay
FireBiRelay(2)
OnNoRelay
OnFirstRelay
OnInfiniteRelay
?

--- End quote ---

No, when I relay is sent it has a variable associated with it to get a different responce.

For example, a plate brick sends a relay to a screen.

On activate, fireRelay (Normal)
On touch, fireRelay (Type One)

for the screen.

onRelay (Normal) - Change colour red
onRelay (Type One) - Change colour blue
onRelay (Any) - spawnexplosion (Pong)

so when the plate is activated, the screen turns red and spawns a pong explosion
when the plate is stepped upon, the screen turns blue and spawns a pong explosion

Lamebro1:

It's a good idea but seems quite useless to me.

Mold:

FireInfiniteRelay could actually be cool.
But no infinite crap
Do raycast in direction
Find Brix on the way
FireRelay on brix

Pages: (1/1)

Go to full version