Internal Entity List

Blitz3D Forums/Blitz3D Programming/Internal Entity List

Craig H. Nisbet(Posted 2003) [#1]
Hi All,

Does anyone know if there is a way to access the internal list of entities so they can be processed through like a type list? I'd like to be able to create meshs without having to create a type just to keep track of it's handle so I can eventually delete it. I hope that made sence.

Thanks


RexRhino(Posted 2003) [#2]
As far as I know, there is no way to do this.


Beaker(Posted 2003) [#3]
You can always just make each entity a child of a pivot positioned at 0,0,0.

Then look at all the children of the pivot.

You can even force parenting like this:

Function MyCreateCube(par=0)
If par=0
cube = CreateCube(globalpivot)
Else
cube = CreateCube(par)
EndIf
Return cube
End Function


[EDITED]


RexRhino(Posted 2003) [#4]
Hey, that is a great idea MasterBreaker!!!


Craig H. Nisbet(Posted 2003) [#5]
I agree!