RegisterForUpdate - Form: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
imported>Perdev mNo edit summary |
imported>Perdev mNo edit summary |
||
| Line 52: | Line 52: | ||
endEvent | endEvent | ||
</source> | </source> | ||
It may also be wise to | It may also be wise to override the handler for [[OnPlayerLoadGame - Actor|OnPlayerLoadGame]]. That way, if OnUpdate previously contained an error and is no longer fired as a result, it will resume once the game is reloaded, hopefully with a modified version that fixes the problem. Note that this event is only fired on the player actor, on the ActiveMagicEffects put on the player and on the ReferenceAliases that reference the player. | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Event OnPlayerLoadGame() | Event OnPlayerLoadGame() | ||