Blockland Forums > General Discussion

A tutorial for the new peeps for the JVS Light Switch :3

Pages: (1/4) > >>

canucklover11:

As you found from the title this is a tutorial, for the JVS light switch, to turn a light on and off.

Step 1. Create your light/lamp, and name the part that you want lit, something like "light".
Step 2. Place a light switch.
Step 3. Wrench the light switch, and open the "Events" menu.
Step 4. From the "Events" menu, put the following into the script menu's;

onActivate > <NAMED BRICK> > setLight > (whatever light you want)
                             light
onContentStop> <NAMED BRICK> > setLight > NONE
                                    light

There you have it!

Pulchritude:

I fail to see why you felt the need to make this... and doesn't this go in the "Help" section?

flo777:

New peeps dont have JVS But still this will help

TheArmyGuy:


--- Quote from: flo777 on August 23, 2010, 03:02:35 AM ---New peeps dont have JVS But still this will help

--- End quote ---
It doesn't , since it does not work.

Proog:

[y][1] [OnActivate] [Brick] [Contentstart]
[y][2] [OnContentstart] [Namebrick] [Light] [Setlight] [Playerlight]
[y][3] [OnContentstarted] [Brick] [ToggleEventEnabled] [1 2 3 4 5 6]
[  ][4] [OnActivate] [Brick] [Contentstop]
[  ][5] [OnContentstop] [Namebrick] [Light] [Setlight] [NONE]
[  ][6] [OnActivate] [Brick] [ToggleEventEnabled] [1 2 3 4 5 6]

Someone test this for me, this is just the bare bones I thought up.

y means it's starting off selected.

Pages: (1/4) > >>

Go to full version