Jump to content

Timing in CS


AzirAphale001

Recommended Posts

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).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...