Yeah, I tried it myself and it won't do the walk animations for the goblin. Plus I can't even append the samari model cause it says it can't for some reason.
Anyways, there is another way that you could do the animation with. Just write another Function To check whether MT#>0 or MT#=0. That's the simpler part I guess you could say if your a complete noobie lol. Hmmm...using those two command you could write another function like this.
Function Moveanime
If MT#>0 then Hide Object 2
If MT#>0 then Show Object 1
If MT#>0 then Loop Object 1,5,25
If MT#=0 then Hide Object 1
If MT#=0 then Show Object 2
If MT#=0 then Loop Object 2
Endfunction
But in order to make this work you will have to change a few things in your program.
1)Load the "idle.x" file as object 2.
2)Load the "walk.x" file as object 1.
3)Position Object 1 at Object 2's Position.
It should end up something like so...
Load Object "Idle.x",2
load Object "walk.x",1
Position Object 1,Object Position X(2),Object Position Y(2),Object Position Z(2)
Do
blah
blah
blah
Loop
Function Enemymove(ob#)
YR#=RND(360)
If MT#<0 then MT#=0
If MT<1 then ST#=ST#-.1
If MT#<1 and MT#>0 then ST#=10
If ST#<0 then ST#=0
If MT#=0 and ST#>0 then Move Object ob#,0
If MT#>0 then Loop Object ob#,105,125
If MT#=0 and ST#=0
Yrotate Object ob#,YR#
MT#=RND(10)
Endif
Print "Movement Timer:[";MT#;"]"
Print "Stand Timer:[";ST#;"]"
If MT#>0 then Move Object ob#,5
If MT#>0 then MT#=MT#-0.1
Loop Object ob#,0,20
EndFunction
Function Moveanime
If MT#>0 then Hide Object 2
If MT#>0 then Show Object 1
If MT#>0 then Loop Object 1,5,25
If MT#=0 then Hide Object 1
If MT#=0 then Show Object 2
If MT#=0 then Loop Object 2
Endfunction
Hopefully you can figure out what all to change to make this work. Try it out and ask if there is anything you need more help with.(Lol, I'm learning about as much as you.)