With this command you can load an object from a file. Supported formats include .x, .dbo, and .3ds.
void dbLoadObject ( char* szFilename, int iID )
When loading an object with this command you must specify an object number. If that number is taken by an object previously loaded with this command, or created using any of the Dark GDK 3D object making functions, the old object will be replaced by the newly loaded one.
The file "myObject.x" is loaded and can be referenced by the number 1 for 3D object operations, such as movement and texturing. It's important to note that if the file does not exist the command will fail silently and the program will continue to run. Therefore, it is good practice to first check if the file exists.