Sjd6795 8 Posted May 17, 2023 Share Posted May 17, 2023 When I am trying to use the arrow keys to run this c code is causing my character to pause until I move forward again then repeating the pause. I have the following Conditions set. Me In Combat - False Hostile Unit Near - Number 20 - Radius 20 - Type SmallerOrEqual Buff Time Left - Buff name Prowl - Number 1 - Type SmallerOrEqual if ( !ObjectManager.Me.HaveBuff("Prowl") && !ObjectManager.Me.InCombat && wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWPlayer(wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWPlayer()).Position.DistanceTo(wManager.Wow.ObjectManager.ObjectManager.Me.Position) < 500 ) { robotManager.Helpful.Logging.Write("Player detected: cast Prowl"); wManager.Wow.Helpers.SpellManager.CastSpellByNameLUA("Prowl"); //wManager.Wow.Helpers.SpellManager.CastSpellByNameLUA("Prowl", true); } Link to comment https://wrobot.eu/forums/topic/15176-c-code-causing-character-movement-to-stop-when-moving/ 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