Skyrim

File information

Last updated

Original upload

Created by

NaughtyColt

Uploaded by

NaughtyColt

Virus scan

Safe to use

Tags for this mod

About this mod

Small updates and one big fix for that .HeadtrackingScript.RegisterForSingleUpdate() errors in papyrus that may have been the cause for headtracking to stop working.

Requirements
Permissions and credits
I'm a big fan of the Player Headtracking mod by Maegfaer but had the issues where at some point headtracking would stop working and the character would lock onto something random and continue to try and look at it regardless of how far away. So I decided to dig into the script did a few fixes.

- Added variable check before calling RegisterForSingleUpdate(). This should fix the papyrus log spam and possibly the reason why headtracking would stop working at some point.

- Lowered RegisterForSingleUpdate time from 0.01 seconds to 0.1 seconds. 10 times per second seemed to me to be more than enough for update checks without being a performance hit.

- Fixed the "don't track corpses" flag so it works. Code was implemented in the MCM but no where in the actual headtracking script. 

Installation might be tricky if your savegame already has the headtracking scripts embedded in it. You may need to uninstall and create a save without the scripts prior to reinstalling and patching to get this to work.