animation

Discussions about Coding and Scripting
User avatar
Rakiayn
Masterful
Posts: 550
Joined: Fri Aug 28, 2009 3:33 pm

animation

Post by Rakiayn »

Is it possible to make a mesh stop playing an animation?
I tried MeshActor.playanim('still',0);
but that doesnt work
User avatar
Feralidragon
Godlike
Posts: 5502
Joined: Wed Feb 27, 2008 6:24 pm
Personal rank: Work In Progress
Location: Liandri

Re: animation

Post by Feralidragon »

Try:
MeshActor.TweenAnim('Still', 0.05);
or
MeshActor.PlayAnim('Still', 40.0);

Btw, keep in mind that not all the meshes have the 'Still' animation, so you have to use only what the mesh has.
User avatar
Rakiayn
Masterful
Posts: 550
Joined: Fri Aug 28, 2009 3:33 pm

Re: animation

Post by Rakiayn »

it worked :)
ty