Delete - ObjectReference

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.

SyntaxEdit

Function Delete() native

ParametersEdit

None.

Return ValueEdit

None.

ExamplesEdit

; Deletes the specified reference
TempReference.Delete()

See AlsoEdit