Blitzmax - A gaming language?

Miscellaneous Forums/General Discussion/Blitzmax - A gaming language?

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.

Entities are referenced by any children they have.

Um. No.

If I create the parent object it and make it a global, it has one reference.
If I then create a field/child object on that parent, it has one reference. The parent still has one reference.
If I add a global reference to the child, it now has two references. If I then Null the parent, it has none, and will be GC'd.
Once the parent is GC'd, the child will have one reference, the global...

I thought it was easy to understand how object referencing works. I guess I was wrong?