Loads an object from a file, currently supported formats are .X .3ds .md3 .smd .md5 .lwo. .ac .b3d .dae .3d .lws .ms3d .blend .m3 .obj and .ago This command includes the optional height parameter that will scale the object's vertices to the given height, the X and Z directions will be matched to this height so the object is still in proportion. This command will not load any animation or bone data and will consolidate the vertices into a single object with as few meshes as possible. To load animation and bone data use LoadObjectWithChildren instead.
LoadObject( objID, szFilename, height )
integer LoadObject( szFilename, height )
LoadObject( objID, szFilename )
integer LoadObject( szFilename )