Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: tiagocorreia on Fri 26/05/2006 17:22:33

Title: SUGGESTION: Character.StopAnimating
Post by: tiagocorreia on Fri 26/05/2006 17:22:33
Hi,

I've noticed that there is a way to stop an Animate loop for objects. COuld it be possible to do the same for Characters?

I'm asking this, since I've tried several solutions for this, but I dind't managed to solve my problem.

I've an animation running like this
Animate(0, 4, eOnce, eNoBlock, eForwards)

If I try to talk with him, I must stop this animation, and run a smaller one (just 2 frames) to make a smooth transition.

I try to unlock the view, and run the animation, but then after unlock the view again, it makes the animation of walking.

My guess I think this happens because there is pending animation loop running.

Can this be implemented? Character.StopAnimating
Title: Re: SUGGESTION: Character.StopAnimating
Post by: Pumaman on Fri 26/05/2006 19:56:19
Unlocking the view should stop the animation. Can you provide the script you're trying to use, perhaps we can see why it's not working.