Difference between revisions of "OnPlayerLoadGame - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>DreamKing
imported>DreamKing
m
Line 2: Line 2:
[[Category:Papyrus]]
[[Category:Papyrus]]
[[Category:Events]]
[[Category:Events]]
'''Member of:''' [[Actor Script]]
'''Member of:''' [[Actor Script]] ''(Requires 1.6)''


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).
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 ==
== Syntax ==

Revision as of 08:33, 15 June 2012

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