Help - Search - Members - Calendar
Full Version: Getting Lights To Activate
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Mapping Forum > Mapping Help and Troubleshooting
Recoup
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
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
wait, how do I set up the time for the lights to go back off?
Kester
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
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 biggrin.gif]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.