Zorkaz Posted June 19, 2019 Share Posted June 19, 2019 How can I set a light to be available only at certain time - in the easiest way? (I don't mean the global cell lighting, but a light box, spot light, etc...) Link to comment Share on other sites More sharing options...
niston Posted June 20, 2019 Share Posted June 20, 2019 Available as in available to build or available as in functioning? Link to comment Share on other sites More sharing options...
Zorkaz Posted June 21, 2019 Author Share Posted June 21, 2019 I meant as a store light that is only active when the store owner is inside the room. Link to comment Share on other sites More sharing options...
niston Posted June 21, 2019 Share Posted June 21, 2019 I found that (at least for some lamps) one can tell the NiController in the lamp NIF to play ON or OFF sequence. This will turn the lamp (texture) on or off, even if it's not wired to power. If you check in F4MS_PlaceableExtras, it has provisions for doing so (NiControllerSequence). So ,you could create a non-powerable version of a lamp (so it doesn't light up when someone wires power next to it) and have a timer based script turn on/off the lamp. I think the script would also have to enable/disable a light object, placed at the lamp, so you get the lamp shine. Another approach could be to place both a shining lamp and one that's not turned on, and have the script enable one and disable the other as needed. Link to comment Share on other sites More sharing options...
Zorkaz Posted June 22, 2019 Author Share Posted June 22, 2019 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts