• How to actually turn off lights?
    2 replies, posted
Hey there, Very new to HL2 mapping, but not new to mapping in general, been mapping for CS:S for awhile now but not used to scripting with triggers and lots of entities. I'm just wondering how to actually have a light turn off. I have a hallway you walk down and about halfway down it you hit a trigger_once which turns off the light entities, but doesn't change the prop skin to the off one so the prop still looks like its on. I want the prop to change to a different skin so it is off or change to a prop that is off. Thanks.
Use prop_dynamic. If the light model has two skins, switch between then with the Skin <integer> input. If two identical models are set with a specific skin, use the TurnOn and TurnOff inputs to toggle visibility.
[QUOTE=Terrenteller;18274149]Use prop_dynamic. If the light model has two skins, switch between then with the Skin <integer> input. If two identical models are set with a specific skin, use the TurnOn and TurnOff inputs to toggle visibility.[/QUOTE] Awesome. Thanks alot!
Sorry, you need to Log In to post a reply to this thread.