types in types

Blitz3D Forums/Blitz3D Programming/types in types

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Nope, you'll have to use delete, because setting it to null will only make te variable or field point to null, but it does not destroy the current instance.
Don't forget to always de FreeEntity with all entities contained by the instance, and - only when necessary - delete all child instances of other (or the same) type.