Delete - ObjectReference

Revision as of 13:54, 11 November 2011 by imported>Cdcooley (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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