Author Topic: Events question  (Read 599 times)

Hey everyone,

Sorry if this is a nooby question but I am tinkering with the events system and am trying to make multiple things happen when I click the trigger brick once, how is this possible? If it is not, is there an output event that is the reverse of disappear?

Thanks,

bfen

For the multiple thing one, say if you want to make a brick named Brick1 turn red and play a sound on the press of a button, here is how it goes (put these events on the switch)

0 [ticked] onActivate>NAMED BRICK(Brick1)>playSound>[your sound here]
1 [ticked] onActivate>NAMED BRICK(Brick1)>setColor>[your color here]

These events below will make a selected brick turn invisible when touched and then turn visible again when touched (put these events on the brick itself)

0 [ticked] onActivate>self>setRendering>[unticked]
1 [unticked] onActivate>self>setRendering>[ticked]
2 [ticked] onActivate>self>toggleEventEnabled>0 1 (put the numbers of the event you want changed from ticked to unticked and vice versa here.)

Here is the link to a tutorial I made that will help you understand certain events and what they do:
http://forum.blockland.us/index.php?topic=48159.0

Hope this helps.