ozeki6 32 Share Posted November 22, 2018 14 hours ago, DeadmanVlei said: So in other words what you're saying is... that some visible animations aren't actually running animations, and that therefor isAnimating() wont return true. So isAnimating does not actually represent whether or not an animation is happening... Yet my script logic is at fault, even though that was exactly my point? I'm gonna do this. Probably by ID, and use it to make a more inside-out approach to the courses, using movement beginnings as markers instead of animation and movement endings, thanks for the suggestion, Pseudo. Kinda. That's how the game behaves. Walking (and running too I think) are not considered animations. But I already told you that's probably not the only reason your script doesn't work. For some obstacles you're performing more than one animation and in the transition player stops both moving and animating so you need to deal with that case too if needed. Link to comment Share on other sites More sharing options...
Warrior627 0 Share Posted November 24, 2018 What I usually use: private boolean WeAreAnimating() { for(int i=0;i<10;i++) { if (getLocalPlayer().isAnimating()) { return true; } sleep(250); } return false; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.