I find working with animations very confusing and difficult. Help is appreciated.
I have a simple animation command that gives the appearance of a sleeping NPC by using:-
PlayCustomAnimation(oTarget, "proneb", 1, 1.0);
Then, when this NPC is spoken to I apply the following in its On Coversation script:-
PlayCustomAnimation(OBJECT_SELF, "standupb", 0, 3.0);
With this, the NPC stands up OK, but then immediately lays down again.
My only guess is that the later animation is not cancelling/stopping the "looping" animation.
How do I stop the looping (sleep) animation?
Many thanks in advance.
Lance.
Modifié par Lance Botelle, 04 juin 2011 - 10:10 .





Retour en haut







