Determining what kind of entity an entity is

Blitz3D Forums/Blitz3D Programming/Determining what kind of entity an entity is

Al Mackey(Posted 2003) [#1]
I seem to remember seeing somewhere that the latest update of B3D contains a command to tell the user what kind of entity (mesh, sprite, camera, etc) an entity is, but now that I need it I can't find any mention of it in the docs. Does this command actually exist or was I smoking crack again?


fredborg(Posted 2003) [#2]
EntityClass$(entity) returns a string indicating what type it is...fool around with it to find out about it :)


Al Mackey(Posted 2003) [#3]
Ah, thanks.. I wonder why it's in 1.85 but isn't listed in the 1.85 docs expansion?


poopla(Posted 2003) [#4]
Because the documentation is lacking.


Floyd(Posted 2003) [#5]
This is why you should check the versions.txt file after updating.


simonh(Posted 2003) [#6]
I wonder why it's in 1.85 but isn't listed in the 1.85 docs expansion?


EntityClass was added at the last minute, after the 1.85 docs pak was compiled and sent off, otherwise it would have appeared there.