Delete - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Flags this object reference as wanting to be deleted. A reference that is flagged for delete will be deleted as soon as:

  • It is no longer in a script property
  • It is no longer registered for updates
  • It is no longer being watched for Anim Events
  • It is no longer held in a quest Alias

Only references created in game can actually be deleted.

Syntax

Function Delete() native

Parameters

None.

Return Value

None.

Examples

; Deletes the specified reference
TempReference.Delete()

See Also