Jump to content

[LE] How do I make something craftable only at night?


Recommended Posts

This may sound like a dumb question, but I cannot figure it out. How do I make something craftable only at night? I looked at the Sun Weakness conditions and created something similar, but with nighttime values. That didn't work. Then I remembered CCO made Daedric Armor craftable only at night, so I used its conditions. Surprisingly, that also didn't work.

 

I am completely stumped. I thought this would be as simple as any other condition I've previously made. What exactly do I have to do to make these conditions work? Do I need a script to go with them?

Link to comment
Share on other sites

Use the following conditions:

 

GetGlobalValue Gamehour less than 6 or

GetGlobalValue Gamehour greater than 18

 

No script necessary.

 

You can change the game hours if you don't want to be able to craft during twilight either. Those times are just roughly when the sun rises and sets in game.

 

If you don't have any other conditions, than that alone should be enough. If you want to combine the above conditions with a tertiary condition remember that it evaluates the "OR" condition first, so you'll have to work around that. Here's a link showing how.

Edited by blennus
Link to comment
Share on other sites

  • 1 year later...
  • Recently Browsing   0 members

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