Difference between revisions of "OnPlayerLoadGame - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>DreamKing
imported>DreamKing
Line 4: Line 4:
'''Member of:''' [[Actor Script]]
'''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.
Event introduced by the 1.6 Skyrim update 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 ==
== Syntax ==

Revision as of 22:47, 14 June 2012

Member of: Actor Script

Event introduced by the 1.6 Skyrim update 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