eventOnPlayerLoadGame()
Description
Wiki Description
Event called when the player loads a save game. This event is only sent to the player actor.
Documentation Comment
Received immediately after the player has loaded a save game. A good time to check for additional content.
Caveats
CK Wiki - Notes
- This event will fire for the first time on the next load. See also OnInit.
Examples
Scriptname Example extends Actor
Event OnPlayerLoadGame()
Debug.TraceSelf(self, "OnPlayerLoadGame", "The player actor has reloaded the game.")
EndEventScriptname Example extends ReferenceAlias
Event OnPlayerLoadGame()
Debug.TraceSelf(self, "OnPlayerLoadGame", "The player actor has reloaded the game.")
EndEventScriptname Example extends ActiveMagicEffect
Event OnPlayerLoadGame()
Debug.TraceSelf(self, "OnPlayerLoadGame", "The player actor has reloaded the game.")
EndEventScriptname Example extends ScriptObject
Event OnInit()
RegisterForRemoteEvent(Game.GetPlayer(), "OnPlayerLoadGame")
Debug.TraceSelf(self, "Actor.OnPlayerLoadGame", "This script has initialized and is now listening for the 'OnPlayerLoadGame' event.")
EndEvent
Event Actor.OnPlayerLoadGame(Actor akSender)
Debug.TraceSelf(self, "Actor.OnPlayerLoadGame", "The player actor has reloaded.")
EndEventAuto-Generated Example
Scriptname MyCoolScript extends Actor
event OnPlayerLoadGame()
Debug.trace("Event received - OnPlayerLoadGame")
endEvent