Blockland Forums > Help

Cancelling Relays

Pages: (1/2) > >>

Sebster 105:

When I'm using the event chain

--- Code: ---onRelay -> self -> fireRelay
--- End code ---
Is there any way I can cancel it? I've tried everything I can think of, including endless chains of toggleEventEnabled
cancelEvents isn't doing it, or I'm using it wrong.

Kalphiter:

Disable the onRelay that fires onRelay.
Disable "onRelay -> self -> fireRelay"

Sebster 105:


--- Quote from: Kalphiter on March 18, 2010, 04:06:25 PM ---Disable the onRelay that fires onRelay.
Disable "onRelay -> self -> fireRelay"

--- End quote ---

What I mean is it auto-cancels after a certain amount of seconds.

Meekl:

Try
onRelay > Self > VCE_modVariable relays Add 1
onRelay > Self > VCE_ifValue relays >= <Insert number of milliseconds here>
onVariableTrue > Self > setEventEnabled <Event number(s)> <Empty box>
:3

Regulith:

I'm almost certain cancelEvents should be working.

Pages: (1/2) > >>

Go to full version