In the Create Event are two files:
model=d3d_model_load("dinHead.obj","t.tmp");
model=d3d_model_load(""dinFrArm.obj","b.tmp")
I just get two of the same object. I am uncertain how to use the code outside of the GMModelEx program. I tried using one of the script functions in the Create Event but created errors(sample below). Any help would be awesome!. Thanks. pac1
f = get_open_filename("OBJ Models|*.obj","*.obj");
if (f <> "")
{
var m; m = GMModelEx_ModelImport(f,0);
if(m)
{
GMModelEx_ModelSave(m,"t.tmp", 1);
d3d_model_clear(gmmodel)
d3d_model_load(gmmodel,"t.tmp")
modelex = m;
}
else
show_message("Failed to load the model")
}
//To avoid opening up a window in the start of the game, tried to change from > f = get_open_filename("OBJ Models|*.obj","*.obj"); to
f = ("dinHead.obj,""*.obj") and left the rest alone but that didn't work.











