FireFlickerFlak Posted August 14, 2010 Share Posted August 14, 2010 Full Edit: After posting this topic I think I figured out how to do what I was asking, but I still have a question or two. The first question is just to see if I am on the right track here. I'd first create a generic spell for each effect I'd want, let's say SpellName is the effect, then... AddSpellNS SpellNameSet NewDuration to (calculations)Set NewMagnitude to (calculations)Set NewArea to (calculations)SetNthItemDuration NewDuration SpellNameSetNthItemMagnitude NewMagnitude SpellNameSetNthItemArea NewArea SpellName And then I could also turn off the autocalc and use ModSpellMagickaCost if needed. So aside from checking to see that that is on the right track, my question is this: If I want this to only happen during sleep after a certain amount of time (like 10 hours or something) would I use a quest script? How would the start of that look? I found IsPCSleeping and GetPCSleepHours, but nothing to tell me how many hours has passed. I guess I could just make it so the update only happens when GetPCSleepingHours >= 9 but I'd prefer to make it happen at a specific hour so people could not just pick a sleep of 24hrs, and then cancel the sleep after 1 hr and get the same effect. I'm also worried about possible incompatibilities/bugs during quests/mods that might be caused by scripting during sleep. Any thoughts?? Link to comment Share on other sites More sharing options...
Recommended Posts