Author Topic: fireRelay[direction]Num  (Read 770 times)

There is already fireRelayNum, but now we need one that can fire in directions. Also, if you happen to make this, add duplicator support.  This will revolutionize events a little more. This will be the start of actually making machines. There's no such thing as "named bricks" in real life, you know. Just wires ;)
« Last Edit: November 20, 2010, 02:43:09 AM by Club559 »

This won't revolutionize events. The VCE did that, and the VCE can do this.

Code: [Select]
[X] 0 [0] onActivate -> Self -> VCE_modVariable {Brick} -> [RelayNum] set [5]
[X] 1 [0] onActivate -> Self -> VCE_ifVariable -> [RelayNum] > [0] [2 4]
[X] 2 [0] onVariableFalse -> Self -> fireRelayNorth
[X] 3 [0] onVariableFalse -> Self -> VCE_modVariable {Brick} -> [RelayNum] subtract [1]
[X] 4 [0] onVariableFalse -> Self -> VCE_ifVariable -> [RelayNum] > [0] [2 4]

Tada.

Lern2VCE

It's for a logic gate server, and that won't help on it. Hur.

This won't revolutionize events. The VCE did that, and the VCE can do this.

Code: [Select]
[X] 0 [0] onActivate -> Self -> VCE_modVariable {Brick} -> [RelayNum] set [5]
[X] 1 [0] onActivate -> Self -> VCE_ifVariable -> [RelayNum] > [0] [2 4]
[X] 2 [0] onVariableFalse -> Self -> fireRelayNorth
[X] 3 [0] onVariableFalse -> Self -> VCE_modVariable {Brick} -> [RelayNum] subtract [1]
[X] 4 [0] onVariableFalse -> Self -> VCE_ifVariable -> [RelayNum] > [0] [2 4]

Tada.

Lern2VCE
your onvariablefalse's need to be onvariabletrue
also, that's not what he's asking for, he wants it to fire a relay with a number attatched, to trigger specific events on another brick, in which case you could just use multiple relays with delays and cancels, and a few toggles thrown in

There's no such thing as "named bricks" in real life, you know. Just wires ;)

Theres no such thing as floating arms and legs, guns that fire rays which tweak imaging on plastic toys, bricks that disappear into thin air when disconnected, or tiny lego rockets that cause tiny fiery explosions, either.

although, there is such a thing called blockland, which does have namedbricks, IN REAL LIFE :D

Theres no such thing as floating arms and legs, guns that fire rays which tweak imaging on plastic toys, bricks that disappear into thin air when disconnected, or tiny lego rockets that cause tiny fiery explosions, either.

logic gate server

Whatever. Just do it someone plox
There is already fireRelayNum, but now we need one that can fire in directions. Also, if you happen to make this, add duplicator support.  This will revolutionize events. This will be the start of actually making machines. There's no such thing as "named bricks" in real life, you know. Just wires ;)


just use multiple relays with delays and cancels, and a few toggles thrown in


i'll make an example if you give me a server name to build it on, or should i host it?