yellotang Posted January 20, 2016 Share Posted January 20, 2016 I am currently rape/pillaging/plundering a mod that utilizes nvdlc01_chandelieron.nif and lights outside. There is no scripts that manage these lights and so I tried to do it myself. I created 2 x-markers, 1 titled MyOutdoorLightsREF and the other titled MyDarkSconceREF. I added nvdlc01_chandelieroff.nif's and switched the nvdlc01_chandelieron.nif's to initially disabled and parent enabled both the 'on' and 'off' to the respectful REFs. I also created the following script scn MyOutdoorLightingScript Short LightsOn Begin GameMode If GetCurrentTime < 19.50 && GetCurrentTime > 6.0If LightsOn != 1Return Elseif LightsOn == 1MyOutdoorLightsREF.DisableMyDarkSconceREF.EnableSet LightsOn to 0Endif Elseif GetCurrentTime > 19.50 || GetCurrentTime < 6.0If LightsOn == 1ReturnElseif LightsOn != 1MyOutdoorLightsREF.EnableMyDarkSconceREF.DisableSet LightsOn to 1Return EndifEndif End It doesn't work, do you know what I am doing wrong? Link to comment Share on other sites More sharing options...
yellotang Posted January 20, 2016 Author Share Posted January 20, 2016 Nevermind, figured it out. DOH! Link to comment Share on other sites More sharing options...
Recommended Posts