DeleteWhenAble - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Waits for this reference to lose its parent cell, or for its parent cell to become detached, then deletes it.
IMPORTANT NOTE: This function waits until the reference is ready to be deleted, and won't return until it does, so DO NOT use this for quest stages or they'll get hung up until the parent cell detaches.
Syntax[edit | edit source]
Function DeleteWhenAble()
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Deletes the specified reference when its parent cell is gone
TempReference.DeleteWhenAble()