BangARang2016 Posted July 31, 2019 Share Posted July 31, 2019 Alright guys, pretty self explanatory. I Have made a custom street light (and added the sexy inverted daylight emittance to it :cool: )I also added a light beam and light source object as well, but the trouble is getting the light beam FX and the light object to disable in the daytime and enable it at night time. I know this ishandled by scripting, but all my attempts either fail, or the GECK rejects them. Not fun. Does someone have a script for this laying around? 1500 caps for whoever can help me. Current lighting setup. The one on the end that isn't on is the light i'm currently working with. Link to comment Share on other sites More sharing options...
GamerRick Posted July 31, 2019 Share Posted July 31, 2019 Here is my quest script for controlling the street lights in my Fairfax City Interiors mod: scn RicksFairfaxLightsAndEffectsControlQuestScript Begin GameMode If (GameHour >= 19.5 || GameHour < 6) ; 7:30pm-6am If ARicksFairfaxLightsAndEffectsControlXMarker.GetDisabled == 1 ARicksFairfaxLightsAndEffectsControlXMarker.Enable Endif Else If ARicksFairfaxLightsAndEffectsControlXMarker.GetDisabled == 0 ARicksFairfaxLightsAndEffectsControlXMarker.Disable EndIf EndIf EndIt just enables or disables an XMarker, that is the enable parent for all of the light items (FXBeams and Light Sources). Pretty basic. Link to comment Share on other sites More sharing options...
Purr4me Posted August 2, 2019 Share Posted August 2, 2019 Alright guys, pretty self explanatory. I Have made a custom street light (and added the sexy inverted daylight emittance to it :cool: )I also added a light beam and light source object as well, but the trouble is getting the light beam FX and the light object to disable in the daytime and enable it at night time. I know this ishandled by scripting, but all my attempts either fail, or the GECK rejects them. Not fun. Does someone have a script for this laying around? 1500 caps for whoever can help me. Current lighting setup. The one on the end that isn't on is the light i'm currently working with. you use a working set and duplicate it ,they all will fucntion as one set. Link to comment Share on other sites More sharing options...
Recommended Posts