Cheez99 Posted August 16, 2010 Posted August 16, 2010 Sorry if this isn't the right place for this topic! I'm making a mod and I would like the 'daylight' lights and light beams to toggle off at night, to simulate a day/night cycle indoors. I've seen it done in other mods, and for the life of me I can't figure out how to do it. The CS Wiki didn't reveal anything either. Help?
David Brasher Posted August 17, 2010 Posted August 17, 2010 What you need to do is give your special lights and light beams new form IDs so that they are added to the game in addition to the vanilla Oblivion items. Then you can put scripts on them. Your scripts would be sort of like: SCN AALights Begin Gamemode If Gamehour <= 6 || Gamehour >= 20 Disable Else Enable EndIf End
Cheez99 Posted August 17, 2010 Author Posted August 17, 2010 How do I go about doing this? I tried giving it a new FormID but nothing like "add script" comes up in the box. Just a ID text box and toggle quest object.
ub3rman123 Posted August 17, 2010 Posted August 17, 2010 Your problem there then seems to be that it's a static object. Try making an activator, placing it somewhere in that cell, and give it the script like David Brasher said. However, make sure to include references, instead of plain disables, e.g. Light1REF.disable.
Cheez99 Posted August 17, 2010 Author Posted August 17, 2010 It works! I did the activator thing but set the beams to reference variables. I copied the hours from the ambient lights in the house (I just now noticed they had scripts of their own, convenient!) So now the beams are all synced with the lights and I am a very happy newbie. Thanks, guys!
Recommended Posts