Background for Starfield
Member of the ObjectReference script
voidfunctionDelete()Native

Description

Wiki Description

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.

Documentation Comment

Delets this object


Caveats


Examples

; Deletes the specified reference
TempReference.Delete()

Auto-Generated Example

myObjectReference__toCallFunctionOn.Delete()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.