Noob Question (scripting lights) Created 20 years ago2004-08-12 09:52:50 UTC by aedi aedi

Created 20 years ago2004-08-12 09:52:50 UTC by aedi aedi

Posted 20 years ago2004-08-12 09:52:50 UTC Post #50398
Hi

Is it possible to set up an ai_scripted event to turn on a light? It sounds like this is something that one would be able to do, but a search on google and on this site for variations of those keywords turned up empty

Thanks in advance
Posted 20 years ago2004-08-12 09:54:33 UTC Post #50400
you mean like a scientist hitting a lightswitch and triggering a light? just trigger the light with something at the same time he presses it.
Posted 20 years ago2004-08-12 09:57:13 UTC Post #50402
multi_manager's etc
Posted 20 years ago2004-08-12 12:35:55 UTC Post #50424
Name the light, and trigger it with the "Target" field of a func_button, etc.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 20 years ago2004-08-12 16:08:02 UTC Post #50454
i think this is right.
If your trying to just get the light to turn on, make a trigger_once and set its target to light and name the light you want to turn on light.

If your trying to get a scientist or something to turn it on then, name the light,light or something, then have a switch and a trigger once, with a delay of about 1-2 seconds, in front of it with the target,light or whatever you called the light, and then script the scientist to walk over into the trigger_once, and do a button press animation.

Or if you want the light to be turned on by you manually, do what seventh said.
Posted 20 years ago2004-08-12 16:23:25 UTC Post #50461
For your future information, scripted_* are for controlling monsters only.
Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.