jrouten 1 Posted May 18, 2017 Share Posted May 18, 2017 Looking for a way to check how much time is left on Auto Attack swing timer. In other words, how many seconds until next auto attack will happen. Link to comment https://wrobot.eu/forums/topic/5912-auto-attack-swing-time-remaining/ Share on other sites More sharing options...
nfx 1 Posted June 3, 2017 Share Posted June 3, 2017 On 19.5.2017 at 1:35 AM, jrouten said: Looking for a way to check how much time is left on Auto Attack swing timer. In other words, how many seconds until next auto attack will happen. same here Link to comment https://wrobot.eu/forums/topic/5912-auto-attack-swing-time-remaining/#findComment-27360 Share on other sites More sharing options...
Droidz 2738 Posted June 4, 2017 Share Posted June 4, 2017 Hello, 3000 ms Link to comment https://wrobot.eu/forums/topic/5912-auto-attack-swing-time-remaining/#findComment-27373 Share on other sites More sharing options...
jrouten 1 Posted June 12, 2017 Author Share Posted June 12, 2017 @Droidz That doesn't help me, since we have no way of knowing when Auto Attack swing happens. If we know when Auto Attack swing happens, we could just set a timer. I know there are Interface Addons that track swing timer, so the event must be in the game client, and I was hoping you exposed it somewhere/somehow. Link to comment https://wrobot.eu/forums/topic/5912-auto-attack-swing-time-remaining/#findComment-27711 Share on other sites More sharing options...
reapler 154 Posted June 12, 2017 Share Posted June 12, 2017 Hello, you can use the event "UNIT_COMBAT" in conjunction with "wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaWithArgs": wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaWithArgs += delegate (LuaEventsId id, List<string> args) { if (id == LuaEventsId.UNIT_COMBAT && args[0] == "TARGET" && args[1] == "WOUND") { //your code } }; I belive the arguments are right. You just need to setup timer & get actual attack speed. Link to comment https://wrobot.eu/forums/topic/5912-auto-attack-swing-time-remaining/#findComment-27712 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now