Turning off lamp with wire break

Turning off lamp with wire break

Re: Turning off lamp with wire break Posted by CrazyC on Sat Dec 11th 2004 at 12:19am
CrazyC
65 posts
Posted 2004-12-11 12:19am
CrazyC
member
65 posts 7 snarkmarks Registered: Sep 27th 2004 Occupation: Unemployed Location: Windsor, Ontario
Alright, I was following the TV tut, that has the TV turn off when the cord breaks. I figured you could do the same thing with a light, so I followed the tut, and nothing. I have it set like the tut (different entity names of course) and have everything set right it seems, but it wont work. When I change the light entity, it wont show up, and it makes my room really dark for some reason.

Is it possible to have a light turn off by breaking a cord?

Thanks in advance
Re: Turning off lamp with wire break Posted by Joe-Bob on Sat Dec 11th 2004 at 12:33am
Joe-Bob
180 posts
Posted 2004-12-11 12:33am
Joe-Bob
member
180 posts 77 snarkmarks Registered: Dec 3rd 2004
Yes, you can. You can toggle most light point entities (no light_enviornments) by LightOn and LightOff.

Going by the tutorial, OnBreak target Light_Entity_Name via TurnOff.

Also, make sure you don't have the Initially Dark flag set.
Re: Turning off lamp with wire break Posted by Leperous on Sat Dec 11th 2004 at 12:48am
Leperous
3382 posts
Posted 2004-12-11 12:48am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
When you "change the light entity"? :wtf:
Re: Turning off lamp with wire break Posted by CrazyC on Sat Dec 11th 2004 at 1:32am
CrazyC
65 posts
Posted 2004-12-11 1:32am
CrazyC
member
65 posts 7 snarkmarks Registered: Sep 27th 2004 Occupation: Unemployed Location: Windsor, Ontario
Go figure, something simple. It was in fact via TurnOff. Thanks Joe.

And Lep, I meant change light to light_dynamic, light_dynamic, that kinda stuff