Blockland Forums > Help

on off event

Pages: << < (2/3) > >>

bizolwig:

NICE! it works... I dont know wy it works... But it dose. Hmmm any one know if there is some guide to events? Something that tells me what each of those commands do and why they do them? and thank you all for your help!

Spockticus:


--- Quote from: Azimuth on August 02, 2009, 10:36:51 PM ---That doesn't make sense.  Please re-read what you posted.

--- End quote ---

Yes it does. Please actually test the events ingame.

Azimuth:


--- Quote from: Spockticus on August 02, 2009, 10:49:58 PM ---Yes it does. Please actually test the events ingame.

--- End quote ---
Please, you do that.  Copy exactly what he said.


--- Quote from: bizolwig on August 02, 2009, 10:48:11 PM ---NICE! it works... I dont know wy it works... But it dose. Hmmm any one know if there is some guide to events? Something that tells me what each of those commands do and why they do them? and thank you all for your help!

--- End quote ---
setLight sets the light.  It is the equivalent of doing it with the wrench.  Setting it to none makes it so there is no light and player's light is usually a good choice for a light.  toggleEventEnabled toggles the event enabled.  If an even is toggled off (check the checkboxes) it will not run when that input is activated.  if onActivate -> Self -> setColor [ red ] is set to disabled it wont set the bricks color to red.  So when you toggle the first two (0 and 1) you get a different input being activated each time, setting the light on and off.

Klayboxx:

That's how I always do it, if it doesn't work, I'm seeing things :c

phflack:


--- Quote from: Azimuth on August 02, 2009, 11:02:31 PM ---Please, you do that.  Copy exactly what he said.

--- End quote ---
it works, IF it's the first events on the brick, you test it

Pages: << < (2/3) > >>

Go to full version