AzirAphale001
Dec 1 2008, 05:43 PM
Is it possible to get a scripted disease to only affect you during during the last three days of a month but only if you've had the disease for more that a week?
As you can probably guess I'm making a Werewolf mod (nearly done, but this damn script isn't working right).
Any help will be greatly appreciated (as will and ideas or support).
LoginToDownload
Dec 1 2008, 05:50 PM
You'll probably want to look into the GameDay (day of the month) and GameDaysPassed variables. When the disease is first added, store GameDaysPassed in a variable. Then you can check that against GameDaysPassed later when GameDay is greater than or equal to 27/28.
Be careful, though. You'll probably need to store the variables (at the very least. Curse of Hircine's disease is basically just a dummy for the player, and everything is taken care of in a Quest script, so it doesn't run every frame) in a Quest script instead of a Magic Effect Script, since Magic Effect scripts reset their variables when loading.