Determining what kind of entity an entity is
Blitz3D Forums/Blitz3D Programming/Determining what kind of entity an entity is
| ||
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? |
| ||
EntityClass$(entity) returns a string indicating what type it is...fool around with it to find out about it :) |
| ||
Ah, thanks.. I wonder why it's in 1.85 but isn't listed in the 1.85 docs expansion? |
| ||
Because the documentation is lacking. |
| ||
This is why you should check the versions.txt file after updating. |
| ||
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. |