Author Topic: wrench events tutorial  (Read 998 times)

can some one make a wrench events tutorial or atleast tell me how to make a simple light that can be turned on and off with a switch

ok if you want it to be turned on by a button you do this

1.plant three bricks(doesnt matter which kind u pick)
2.say theres a 2x2 brick for the light you hit it w/ wrench then name it something,i'll call it lite
3.now the other brick can be 1x1 that'll be the on button
4.hit the 1x1 brick with the wrench and click events-on activate-<named brick>-lite-set light (pick a light)
5.the 1x2 will be the off button-on activate-<named brick>-lite-set light-none

you can do what errorer said but i know how to make the one brick turn the light on and off

first you make 1 brick name it then go to events put onactivate   self  set ligt   players light   for number o
then for number 1 put onactivate    self   set light    none
for number 2 put onactivate   self   go to the very bottom of the list and click on toggle event  ------  (i cant remember the other word) then type in the blank   0 1
click the check mark next to either the 1 or the 0 and when ever you click on the brick it will turn on and off (you cant be holding any thing though)