changetoCode:walkToPoint(2474, 3429, 762);Code:walkToPoint(c,2474,3429,762);
|
How can I make it so the emote stops after it finishes walking to the point?
I tried resetAnimation();
and
pEmote = -1;
But they didn't work >.<
ex.)Gnome agility course walking over a log. After the player finishes walking over the log and doing the animation, the player keeps doing the animation even after they walked over the log. How can I fix?
Mhm...
Code:client.java:8997: cannot find symbol symbol : variable c location: class client walkToPoint(c, 2474, 3429, 762); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error Finished! Press any key to continue . . .
walkToPoint(this, 2474, 3429, 762);
why not just use the walkto void the source comes with, then do
walkto(coordx, coordy)
Face(Direction you want it to);
doAnimation(int);
delay(1) {or whatever you want to do}
teletoX = intX;
teletoY = intY;
resetAnimation;
}
It's processing the same thing, just in simpler format.. But either way it's still going to teleport you, do a animation, face the object, walk to the object, then reset the animation.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |