here's the simplest way to do it copyentity with loadanimmesh
;Create the "Box" entity and animate it
box=LoadAnimMesh("model\box.b3d")
ScaleEntity box,.1,.1,.1
PositionEntity box,0,-.9000,5
TranslateEntity box,30,-.70,-.70
EntityShininess box,1
EntityBlend box,1
SetAnimKey box,15,True,True,True
AddAnimSeq(box,15)
Animate box,1,2,0,100
EntityAutoFade box,80,70
box2=CopyEntity(box)
ScaleEntity box2,.1,.1,.1
PositionEntity box2,-2,-.9990,5
TranslateEntity box2,30,-.99999,-.70
EntityShininess box2,1
EntityBlend box2,1
SetAnimKey box2,15,True,True,True
AddAnimSeq(box2,15)
Animate box2,1,2,0,100
EntityAutoFade box2,80,70
this is from my project I'm currently working on
|