Pottyscotty Posted February 27, 2015 Report Share Posted February 27, 2015 Is there a way to have both Scene lights and Directional lights on one vehicle? The problem with it is that both the buttons turn on/off any "special" lights on the vehicle, so is there a way to make it so they don't do this? Quote Link to comment Share on other sites More sharing options...
itchboy Posted February 27, 2015 Report Share Posted February 27, 2015 Is there a way to have both Scene lights and Directional lights on one vehicle? The problem with it is that both the buttons turn on/off any "special" lights on the vehicle, so is there a way to make it so they don't do this?Thanks to the mod who moved this. There isnt really a way to "subclass" special lights. My technique is to use special lights for the directional lights, and Trafficlight green for spotlights. I then modify the flood light script to recognize cars that have the double configuration and code the script to enable the green traffic lights of the vehicle. Quote Link to comment Share on other sites More sharing options...
Pottyscotty Posted February 27, 2015 Author Report Share Posted February 27, 2015 Thanks for the suggestion, I'll have to try that one. Quote Link to comment Share on other sites More sharing options...
itchboy Posted February 27, 2015 Report Share Posted February 27, 2015 Thanks for the suggestion, I'll have to try that one.An example you could look into is the Border Patrol Dodge Charger from my LA Car pack. It has that set up, but only I have the script necessary to make it work. Quote Link to comment Share on other sites More sharing options...
Pottyscotty Posted February 27, 2015 Author Report Share Posted February 27, 2015 An example you could look into is the Border Patrol Dodge Charger from my LA Car pack. It has that set up, but only I have the script necessary to make it work.I'll take a look. What is the class for the Green traffic light? I know that Special lights is "EnableSpecialLights" so my guess is that it is "EnableTrafficlightGreen" or something Quote Link to comment Share on other sites More sharing options...
itchboy Posted February 27, 2015 Report Share Posted February 27, 2015 I'll take a look. What is the class for the Green traffic light? I know that Special lights is "EnableSpecialLights" so my guess is that it is "EnableTrafficlightGreen" or somethingvoid EnableTrafficLight(TrafficLightType type_); TrafficLightType type_ can be the follwing and only the following:TLT_NONE,TLT_GREEN,TLT_YELLOW,TLT_RED Use TLT_NONE to disable all lights. I think this is what works. Tbh, I only tested the script once and can't remember if it works or not. Quote Link to comment Share on other sites More sharing options...
Pottyscotty Posted February 27, 2015 Author Report Share Posted February 27, 2015 I'll give it a shot later then and say if it works Quote Link to comment Share on other sites More sharing options...
TACRfan Posted February 27, 2015 Report Share Posted February 27, 2015 This is quite interesting because I have often wondered the same thing Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted February 27, 2015 Report Share Posted February 27, 2015 So basically what I suggested might be worth trying... [emoji14] I'm sure this has been done before, I just can remember where or who did it. Sent from my SM-G901F using Tapatalk Quote Link to comment Share on other sites More sharing options...
The Loot Posted February 27, 2015 Report Share Posted February 27, 2015 So just: v.EnableTrafficLight(TLT_GREEN);? Quote Link to comment Share on other sites More sharing options...
Pottyscotty Posted February 27, 2015 Author Report Share Posted February 27, 2015 So basically what I suggested might be worth trying... [emoji14]I'm sure this has been done before, I just can remember where or who did it.Sent from my SM-G901F using Tapatalk Yeah pretty much I just have a poor memory --------------------------------------------------------------------------------- It is v.EnableTrafficLight(TLT_GREEN); for true and v.EnableTrafficLight(TLT_NONE); for false, it works perfectly. I can now have separate directional and flood lights. Quote Link to comment Share on other sites More sharing options...