Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Animating

Super Bot Author
Joined
Jun 24, 2016
Messages
151
Players.getLocal().getAnimationId() returns...the Animation ID. This allows you to know what action a player is doing. For example, when this returns -1, the player is just standing still, doing nothing. When it returns 624, the player is mining. You can use the Development Toolkit to find the Animation ID to any action you need.
 
Joined
Jul 16, 2016
Messages
21
Thanks SuperBotter, I've got a pretty good working Portable bot. Just making it better and making it so I can use different portables.
Can you help me with adding a combobox to the runemate interface so I can choose what portable I am using?
 
Joined
Dec 10, 2014
Messages
3,332
Hmmm, as for animation IDs, if you're only worried about if the player is animated, animationId != -1 would do, but if you're looking for a specific animation, animationId == specificAnimationId would be what you want. This is important cases where animations can be different depending on the player.
 
Top