Skyrim
0 of 0

File information

Last updated

Original upload

Created by

Author ferrari365 - Port by Xtudo

Uploaded by

Xtudo

Virus scan

Safe to use

About this mod

Reworks the DLC2dunFrostmoonTriggerScript to not check repeatedly if you're near the camp by replacing an inefficient event with RegisterForSingleUpdateGameTime. No ESP.

Requirements
Permissions and credits
Changelogs
Donations


DLC2dunFrostmoonTriggerScript Optimization LE
Author ferrari365 - Port by Xtudo

Description (Small details that make big differences)
My port of this important fix made by ferrari365.
I actually compiled the script with the last Creation Kit Legendary Edition. The resulting LE compiled script has different size than the SE version, so something changed. Then I tested it ingame quite a bit, and it's working as intended. I made the port for my game, and now I'm sharing it. All credits goes to ferrari365 of course.

Description from the original mod: The Frostmoon camp in the Dragonborn DLC features, at first glace, some regular looking hunters, which are unusually cautious of you and will ask you to leave. This is because they are secretly werewolves and unless you're a werewolf yourself, they don't trust you and will eventually attack you if you ignore their warnings. This behavior is controlled by a script which checks if the player is too close to the camp. However this script is quite inefficient in its use of the OnTrigger event which will fire off repeatedly from every NPC at the camp for no good reason and unnecessarily take up scripting resources. Furthermore the script will start firing off as soon as the camp is loaded in, regardless if the player is currently there or just passing by nearby on their way to some other place.
This mod optimizes this script by replacing the OnTrigger event with RegisterForSingleUpdateGameTime to achieve the same behavior while only running updates if the player is too close to the camp and is currently being warned to leave. Furthermore it fixes a bug with Rakel's warnings, which can cause her to keep warning you to leave, even if you've been accepted by the camp's leader if you went there before turning into a werewolf and then return as one.

Compatibility
  • Not compatible with anything that changes the DLC2dunFrostmoonTriggerScript script. USLEEP changes have been retained.
  • Compatible with everything else.

- SE-AE version here.

Credits

Especial thanks
  • To ferrari365 and to my lovely Patreons and supporters.


Do you like my mods or stories?
Please support me on Patreon.