- Found in:
- Vanilla
eventOnPlayerTeleport()
[DEV SERVER] Loading description...
Caveats
CK Wiki - Notes
- Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.
Examples
Function SomeFunction()
RegisterForPlayerTeleport() ; Before we can use OnPlayerTeleport we must register.
EndFunction
Event OnPlayerTeleport()
Debug.Trace("Player teleported!")
endEventAuto-Generated Example
Scriptname MyCoolScript extends ScriptObject
event OnPlayerTeleport()
Debug.trace("Event received - OnPlayerTeleport")
endEvent