Author Topic: lights  (Read 1184 times)

How do i make a 1 switch light event or anykind of other event, that i can click one brick and the light goes on, then i click it again, adn the light goes off

Toggle event enabled.
You should use it sometime :cookieMonster:

Code: [Select]
[ ] 0 onativate - named brick - setlight - light
[x] 1 onativate - named brick - setlight - light non
[x] 2 onativate - self - toggleeventenabled [0 1]
Then uncheck the first one; finally click it a few times.
« Last Edit: June 02, 2010, 04:09:55 PM by vv45689 »

And I don't want to force my opinion on you, but I suggest the switch pack that's used with JVS, it has lightswitches in it, and several others. With those, though, you can use "OnEventStart" and "OnEventStop" instead, each relating to the switch going to the on or off position. You might be going for something specific by not using the JVS version, but the JVS can be much more detailed and realistic.

And I don't want to force my opinion on you, but I suggest the switch pack that's used with JVS, it has lightswitches in it, and several others. With those, though, you can use "OnEventStart" and "OnEventStop" instead, each relating to the switch going to the on or off position. You might be going for something specific by not using the JVS version, but the JVS can be much more detailed and realistic.
You mean Oncontentstart and Oncontentstop