Mod:Creation Kit/DeleteWhenAble - ObjectReference

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus 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.