OnPlayerLoadGame - Actor
Revision as of 09:03, 15 June 2012 by imported>JLundin
Member of: Actor Script (Requires 1.6)
Event called when the player loads a save game. This event is only sent to the player actor. If this is the first save game load where the event is being listened to, and the event is on an alias, and the alias didn't exist at the time the save was made, then the player won't be in the alias by the time the event is sent, and the alias script will not receive the event. It should then receive later events.
Syntax
Event OnPlayerLoadGame()
Parameters
None.
Examples
; Event is only sent to the player actor. This would probably be on a magic effect or alias script
Event OnPlayerLoadGame()
Debug.Trace("player loaded a save, do some fancy stuff")
endEvent
Notes
This event is only sent to the player actor. It is recommended that you handle this event via an alias the player is forced into, or a magic effect on the player.