dantheman1234 Posted October 26, 2012 Share Posted October 26, 2012 hey guys, i searched but i couldnt find anything relevant, so if its been answered im sorry! basically, im trying to get light beams to disapear at say 6pm and reappear at about 6am, for the life of my i cant figure it out! cheers guys! Link to comment Share on other sites More sharing options...
CaptMitch Posted October 30, 2012 Share Posted October 30, 2012 (edited) hey guys, i searched but i couldnt find anything relevant, so if its been answered im sorry! basically, im trying to get light beams to disapear at say 6pm and reappear at about 6am, for the life of my i cant figure it out! cheers guys! Make a script (object) and atach it to the lightsource.you could try Disable/Enable Example:scn Lightscript Begin Gamemode if (GameHour >= 1800 && GameHour <= 0600) ;<---------set the hour between 6pm and 6amLightsourceREF.Disable;<-----------------------------disables lightelseLightsourceREF.Enable;<--------------------------will turn it back on if not between 6pm and 6amendifEND you can find the timescale reference at : http://geck.bethsoft.com/index.php/List_of_Global_Variables Edited October 30, 2012 by Capt Mitch Link to comment Share on other sites More sharing options...
CaptMitch Posted October 30, 2012 Share Posted October 30, 2012 (edited) Hope This helps Edited October 30, 2012 by Capt Mitch Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted October 30, 2012 Share Posted October 30, 2012 Go to the emittance tab on the ref and set it to InvertedDaylightRegion. This will turn off lights in the day and turn them on at night without having to handle it all with a script. Link to comment Share on other sites More sharing options...
dantheman1234 Posted June 21, 2013 Author Share Posted June 21, 2013 Thanks alot guys, worked perfectly! Link to comment Share on other sites More sharing options...
Recommended Posts