Deleted Instances in Edit Time

Get help using Construct 2

Post » Sun Feb 24, 2013 4:55 pm


I have written a plugin that generates objects who's rendering depends on other objects of the same plugin.

I note that I haven't handled delete/destruction of objects and that Construct doesn't crash, but as far as my objects are concerned, the deleted object is still present because I saved a reference to the object when it was added.

Is there an IDEInstance.prototype.OnDeleted callback that I could use to remove the object ref from my list? Alternatively, is there a flag on the instance for isdeleted?


Posts: 4
Reputation: 233

Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 13 guests