Blockland Forums > Help

Event help

Pages: (1/2) > >>

Kirze:

I've been trying to get an event to work for around an hour now, and it simply is not working.

So I turned to the forums to help


This may sound simple, but (for me anyway) its really hard to do.

Here is what I need:

A brick, that when you stand on it, it glows until you get off.

Sounds simple, but it isn't, I have tried relays and such, but nothing has worked

Any ideas?

Greek2me:

Try this:


--- Code: ---0 onPlayerTouch => Self => setColorFX Glow
0 onPlayerTouch => Self => CancelEvents
50 onPlayerTouch => Self => fireRelay
0 onRelay => Self => setColorFX None

--- End code ---


Kirze:


--- Quote from: Greek2me on April 27, 2013, 05:47:27 PM ---Try this:


--- Code: ---0 onPlayerTouch => Self => setColorFX Glow
0 onPlayerTouch => Self => CancelEvents
50 onPlayerTouch => Self => fireRelay
0 onRelay => Self => setColorFX None

--- End code ---

--- End quote ---
That just makes it blink :/

Setro:

Try this:

--- Code: ---0 onplayertouch>self>setcolorfx>glow
100 onplayertouch>self>setcolorfx>none
--- End code ---


Kirze:


--- Quote from: Setro on April 27, 2013, 06:00:26 PM ---Try this:

--- Code: ---0 onplayertouch>self>setcolorfx>glow
100 onplayertouch>self>setcolorfx>none
--- End code ---

--- End quote ---

Thats the one ive been trying to make work for a while, it just makes it blink.

Pages: (1/2) > >>

Go to full version