Mod:Creation Kit/DeleteWhenAble - ObjectReference

Member of: Mod:Creation Kit/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.

Parameters
None.

Return Value
None.