OnPlayerLoadGame - Actor

From the CreationKit Wiki
Revision as of 09:33, 15 June 2012 by imported>DreamKing
Jump to navigation Jump to search

Member of: Actor Script (Requires 1.6)

Event that is received when the player loads a saved game. Is not received the very first time a script is loaded, when a mod is first activated; only on subsequent loads. 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).

Syntax

Event OnPlayerLoadGame()

Examples

Scriptname xyzPlayerAliasScript extends ReferenceAlias

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

See Also