freeing children

Blitz3D Forums/Blitz3D Programming/freeing children

slenkar(Posted 2004) [#1]
who votes for removing the feature of automatically freeing the children of entities?
it has caused me a lot of anguish and it would be easier to do it myself.

Although thinking about it ,it would break code that has already been written,how about an option to make them not free when you create copy's of entities?


jfk EO-11110(Posted 2004) [#2]
as an additional option, ok. But you should be able to write your own function, someting like:

function myFreeEntity(handle)
__recursively catch all children__ ; (lotsa examples in the code archive)
__entityparent those-children,zero__
freeEntity handle
end function