Page 1 of 1

Looping Animations ?

Posted: Sat Dec 10, 2016 1:21 pm
by Kelkos
Hello, guys. Hopefully, can someone help me out here.

So i want to ask if there is a way in the ScriptedPawn code that makes a certain anim loop. Like the shooting animation , I don't want the pawn to move his hands while shooting. I want the pawn to stand still while aiming the gun and the gun should fire without the hands moving animation. Is there a way to implement this code ?

I saw in the Mesh Browser. Instead of playing all the 6 shooting frames, I want the pawn to stand still while the gun automatically fires in his hand . Many thanks for help :)

Re: Looping Animations ?

Posted: Sat Dec 10, 2016 4:43 pm
by Cybernetic pig
LoopAnim() loops anims. PlayAnim() plays a sequence once.
Kelkos wrote: I saw in the Mesh Browser. Instead of playing all the 6 shooting frames, I want the pawn to stand still while the gun automatically fires in his hand . Many thanks for help :)
Remove the call to the shoot animation.

Re: Looping Animations ?

Posted: Sat Dec 10, 2016 5:12 pm
by Kelkos
Sorry to bother you , can you help me out?