OnUnload - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: 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

Notes

  • When this event is received any calls to the object that manipulate it may fail.

See Also