jamnj88 Posted September 23, 2015 Report Share Posted September 23, 2015 (edited) I am working on a private American airport mod with a couple friends. I am placing a single flashing yellow light on top of all emergency vehicles for use when the emergency strobes are not activated. I am trying to get some help figuring out how to make a button to activate just that light. Edited September 23, 2015 by randomperson139 Removed completely unnecessary sentence Quote Link to comment Share on other sites More sharing options...
Mindcat Posted September 23, 2015 Report Share Posted September 23, 2015 Make a script, make button for it. You can also use some existing scripts... Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted September 23, 2015 Report Share Posted September 23, 2015 I've removed the completely unnecessary sentence from your post. You're more than aware that all you'll accomplish with that is start an argument. What you're after can be done by editing the standard blue light script. Set your new lights as one of the traffic light ones, and then edit the script so that it activates those lights when pressed. Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 23, 2015 Report Share Posted September 23, 2015 Well, I'll share my method of achieving secondary lights: A number of my vehicles have a takedown/floodlight/spotlight that is separate from all other lights. I achieved this by assigning it to the TLR_GREEN light type. I then go into the script and specify the prototypes that have this "custom" light, and then set them to activate the TLR_GREEN light in script, and then the TLR_NONE type to turn it off.if(StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE02) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE03) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_USFS_ENGINE) == 0) v.EnableTrafficLight(TLT_GREEN);else v.EnableSpecialLights(true);Here's an excerpt from the code I've set up. Thats to enable the light. You would need to do the opposite of that to disable the light via command. Quote Link to comment Share on other sites More sharing options...