Blockland Forums > Help

on off event

Pages: << < (3/3)

Azimuth:


--- Quote from: Klayboxx on August 02, 2009, 10:34:24 PM ---AHEM

(Check)On Activate>Self>SetLight>PlayerLight

(Check)On Activate>Self>Toggle event enabled>0 2

(Uncheck)On Activate>Self>SetLight>PlayerLight

--- End quote ---
Let me explain the logic of this.
Both of the setLight events set the light to Player's Light.
That does not make any sense.  The only reason it's probably working is because you corrected it without noticing.

Snaily:

Fun Fact:
When an event is toggled, the toggled options don't hold true or false until the cycle finished. For example, you could make an onActivate event 0 turn off onActivate event 1, but if event 1 is already enabled, it will still execute when you first activate it.
I'd advise you don't event things this way though, because it can get confusing later on.

Klayboxx:


--- Quote from: Azimuth on August 03, 2009, 10:34:33 AM ---Let me explain the logic of this.
Both of the setLight events set the light to Player's Light.
That does not make any sense.  The only reason it's probably working is because you corrected it without noticing.

--- End quote ---

I see it know, haha I forgeted up.

Klayboxx:

Double post,

I again forgeted up.

Pages: << < (3/3)

Go to full version