Direct type access

Blitz3D Forums/Blitz3D Programming/Direct type access

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.

Eek.

He is using an undocumented feature of Blitz (not recommended!)

The 'Object' allows some kind of direct access to Blitz's internal list of entities. I don't quite understand how the Object.entity(name) works, but his code implies that it returns the object which has that name, and does it faster than the normal method (simply searching through the list of current entities).