BryceTheCoder Posted January 19, 2012 Share Posted January 19, 2012 Hey, i wana know the code to get the players average pixel movements (for runescape) and i also need the code that says "if playersAveragePixelMovement < 20 then doSomething;" that would b awesome:) Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 19, 2012 Share Posted January 19, 2012 Converting a Simba script? I ran into this as well. Doesn't exist at the moment. Wound up writing my own IsMoving, IsAnimating functions. Quote Link to comment Share on other sites More sharing options...
rsutton Posted January 19, 2012 Share Posted January 19, 2012 You can pretty easyly convert a simba sc ript if you know what your doing. Take the source from the includes. Not to mention Simba has open source on the internet Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted January 19, 2012 Author Share Posted January 19, 2012 Oo cool so Bibxby Sayz, can you send me a PM of your IsAnimating function please:) That would b amazing:) Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 19, 2012 Share Posted January 19, 2012 You can pull it out of my VarrockSmither script. These routines are not that great; they need to be made better. I just haven't gotten around to it. http://forums.scar-divi.com/showthread.php?660-bsVarrockSmither Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted January 20, 2012 Author Share Posted January 20, 2012 thank you soo much:) so i can use as an exmaple like this right?: "if bsIsAnimating(True) then begin doSomething; end;" Is that correct or no? Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 20, 2012 Share Posted January 20, 2012 Yeah. I was using it the other way: to figure out when I'm finished doing something by checking for not IsAnimating. Btw, having a cape on makes it a lot less accurate as the cape constantly swishes around. Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted January 20, 2012 Author Share Posted January 20, 2012 thnx. appreciate it. Nd thnx for the info on the cape:_) Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 20, 2012 Share Posted January 20, 2012 To be honest if I hadn't been using it for a scripting competition where all code must be original I wouldn't have bothered and simply ported SRL's functions over for use. I really struggled to get this working accurately and never felt it was as good as it could be. Quote Link to comment Share on other sites More sharing options...