DeleteWhenAble - ObjectReference

Revision as of 23:21, 18 December 2012 by imported>Jbezorg

Member of: ObjectReference Script

Waits for this reference to lose its parent cell, or for its parent cell to become detached, then deletes it.

Syntax

Function DeleteWhenAble()

Parameters

None.

Return Value

None.

Examples

; Deletes the specified reference when its parent cell is gone
TempReference.DeleteWhenAble()

Notes

  • Using DeleteWhenAble() within a scene can cause it to stall. ( This needs independent verification. My assumption is that the scene is waiting for the operation to complete. )

See Also