Recoup
Jun 24 2004, 07:07 PM
How do I get a series of lights to activate after pressing a switch? I know the multi manager is involved somehow, but I dont know how to get lights to turn on and then shut off once the series is done. This is what I want:
Hit a switch, a sound plays and 2 horizontal lights come on. A door opens, reaches max, then it closes, and the lights go out. How does that work?
K2Boarder
Jun 24 2004, 09:14 PM
Alright, have the func_button trigger a multimanager. Have the multimanager trigger the sound and the lights and the door. Find out how long it takes the door to open all the way and add the lights to the multimanager a second time with the time added on. The multimanager will now turn them on and then off. The lights should have the "initially dark" flag checked. Its pretty easy.
Recoup
Jun 25 2004, 01:43 AM
wait, how do I set up the time for the lights to go back off?
Kester
Jun 25 2004, 08:15 AM
ur mm shud be set up something like this
targetname lights_door
sound 0 //to turn the sound on
lights 0 //to switch them on straight away
door 0.2 // opens slightly after
lights 1.2 // to switch off again after 1.2 seconds (thats if ur door takes 1.0 seconds to open
K2Boarder
Jun 25 2004, 09:13 AM
Okay, the multimanager will cause the door to open (along with turning on the lights and the sound). You can't just make it so when the door closes the lights go out but rather fake it by timing it just right. So test the map with just the lights turning on and the door opening and count the time to see how long it takes from when the multimanager was triggered to when the door reached its max. Then go back and add another thing in the multimanager with the key as the name of the lights and the value as how long it took from trigger to finish with the door. I hope that explains it!
[oops sorry kester, its 2:00am and im too tired to notice your post

]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.