Help - Search - Members - Calendar
Full Version: Timing in CS
The Nexus Forums > Specific Games > Oblivion > Oblivion Modifications > General Mod Talk
AzirAphale001
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
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.