Mod:Creation Kit/OnUnload - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Event called when the object's 3d has been unloaded OR the object leaves the loaded area.

Syntax
Event OnUnload

Parameters
None.

Examples
Event OnUnload Debug.Trace("This object has been unloaded, animations can't be played on it anymore") endEvent