Talk:Delete - ObjectReference
Revision as of 03:48, 7 October 2012 by imported>Antares (Article Information Incorrect?)
Article Information Incorrect?
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
My experiences seem to contradict the above (taken directly from article). I have two scripted objects. One placeholder (directs activation to copies) and the other serves as a base for PlaceAtMe copies, this base is a property of its own script and a property of the placeholder's script.
It has delete called on it so its copies can get cleaned out of the game but shouldn't get deleted itself.
Event OnCellLoad() ;cleans up remnant copies on cell load
Delete()
Endevent