Hi All,
I recently noticed that the city gates of walled cities are now always open, even at night; while I remember clearly that in the original game and also in the previous versions of DFU the gates were closed at night. Does anybody know if this is intentional in the default version, if it is something introduced by a mod or if it is a bug?
Thanks!
City gates always open
- BadLuckBurt
- Posts: 948
- Joined: Sun Nov 05, 2017 8:30 pm
Re: City gates always open
They should still be closed at night.
A simple test would be to disable your mods and see what happens.
Code: Select all
private void Update()
{
// Toggle closed at 18:00 and open again at 06:00
bool isNight = DaggerfallUnity.Instance.WorldTime.Now.IsNight;
if (isNight && isOpen || !isNight && !isOpen)
Toggle();
}
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt
.
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt
.
-
- Posts: 113
- Joined: Sat May 23, 2020 9:07 am
Re: City gates always open
Thanks! Will try!