WINextDragon: Investigating Dragon Respawn

Post » Fri Jul 05, 2013 11:35 am

Hello Friends,

I have been having an issue where random dragon encounters don't seem to happen for me, which I have been investigating a bit by keeping an eye on several global variables through the console (WINextDragon, GameDaysPassed, WIWaitDragon, etc). This is not a Main Quest related problem (MQ106TurnOffRandomDragons = 0).

The problem seemed to be that WINextDragon was always getting incremented somehow to be greater than GameDaysPassed (it needs to be less in order for a dragon to spawn). So far what I have noticed is that random World Events (like Stormcloaks fighting Imperials, etcetera) reset the counter--probably by calling WIFunctionsScript's updateWIDragonTimer() function (and I think this is probably supposed to happen, so I'm not too concerned about it):

function updateWIDragonTimer()    ; update timer for when next WI dragon is allowed to appear    WINextDragon.SetValue(GameDaysPassed.GetValue() + WIWaitDragon.GetValue())    if MQ305.IsCompleted()        WINextDragon.SetValue(WINextDragon.GetValue() + 3 )    endifendFunction

However, I just spent a few hours questing through Deepwoods Redoubt into Hag's End and then back out to Skyrim again, and noticed that upon exiting Deepwood Redoubt through the door that says "To Skyrim," my WINextDragon was advanced again by WIWaitDragon's value (replicated a few times by reloading the save--definitely happens when I teleport through the door).

This seems more peculiar to me, and I have opened up the Creation Kit and tried to figure out what script is attached to this door/teleport to figure out if it is calling updateWIDragonTimer(), but haven't been able to find what I'm looking for. Is this typical? Should simply exiting a dungeon door back out to Skyrim be resetting my dragon timer? Or is this somehow bugged?

Looking forward to hearing any comments you have, in the meantime will be doing some more testing to see if this happens with any dungeon exit. If so, it may explain why I haven't seen any dragons for about a month's in-game time.

User avatar
Hairul Hafis
 
Posts: 3516
Joined: Mon Oct 29, 2007 12:22 am

Return to V - Skyrim