OnPlayerLoadGame - Actor

From the CreationKit Wiki
Revision as of 23:45, 14 June 2012 by imported>DreamKing (→‎Examples)
Jump to navigation Jump to search

Member of: Actor Script

Event introduced by the 1.6 Skyrim update that is received when the player loads a saved game. Seems to only be received when actually attached to the player character (e.g., in a script attached to a Reference Alias set to be filled by the player). Is not received the first time a script is loaded, when a mod is first activated; only on subsequent loads.

Syntax

Event OnPlayerLoadGame()

Examples

Scriptname xyzPlayerAliasScript extends ReferenceAlias

Event OnPlayerLoadGame()
  Debug.Trace("The player has loaded a saved game.")
EndEvent

See Also