I was testing out this method today, and I'm not sure how it's calculated. Can anyone shed some light on this please?
I basically setup HB to log whether or not I'm moving. In pulse, I placed a simple:
What I noticed is that the movement constantly switches between true and false, even though I'm holding down a movement key. It seems to flip to false more often when I hit a wall, or a place in the map where I begin moving vertically.
I'm basically trying to program my custom class to cast a certain spell if moving, and a different spell when I'm not. While it does technically work with IsMoving, I'm trying to prevent the CC from spamming an ability, blowing up the log, and causing any sounds in the game (when you try to cast something that's not ready).
Any ideas? Using the [test] version of HB; latest release.
Edit: I forgot to mention that I'm developing a CC that I'm using to just control rotations. I'm controlling movement, so it'll be used most likely with the Combat bot. Perhaps a check if the user is holding down any of the WASD keys? I wouldn't even know how to check that.
I basically setup HB to log whether or not I'm moving. In pulse, I placed a simple:
Code:
Logger.Write("IsMoving: " + Me.IsMoving);
What I noticed is that the movement constantly switches between true and false, even though I'm holding down a movement key. It seems to flip to false more often when I hit a wall, or a place in the map where I begin moving vertically.
I'm basically trying to program my custom class to cast a certain spell if moving, and a different spell when I'm not. While it does technically work with IsMoving, I'm trying to prevent the CC from spamming an ability, blowing up the log, and causing any sounds in the game (when you try to cast something that's not ready).
Any ideas? Using the [test] version of HB; latest release.
Edit: I forgot to mention that I'm developing a CC that I'm using to just control rotations. I'm controlling movement, so it'll be used most likely with the Combat bot. Perhaps a check if the user is holding down any of the WASD keys? I wouldn't even know how to check that.
Last edited: