Log in

View Full Version : Animation Help



Brandon
03-11-2011, 01:10 AM
KK here is the problem..

When getting player animation, if its an animation like the herblore one.. where the character animates, stops, animates again, stops.. and it keeps repeating..

so the animation changes from -1 to xx to -1 to xx to -1 to xx...

How do you check to make sure if its still animating..

Cuz when I do this it fails as soon as it stops animating the first time:


Repeat
wait(1000);
Until(Me.Animation = -1);

Heysus
03-11-2011, 01:14 AM
This is how I do it. It will break the loop if you don't animate for more than 2 seconds.



MarkTime(t);
While TimeFromMark(t) < 2000 do
begin
if (Me.Animation = xx) then
MarkTime(t);
Wait(50);
end;