cgeorg13 2 Posted November 2, 2016 Share Posted November 2, 2016 I'm building a custom profile/healing fight class for PvP and the Battleground Free State is force targeting hostile players and trying to attack them in the short window between targeting the intended friendly target and casting the heal spells. Along with the targeting, the forced movement is messing with the class as well. Is there a way to force stop the movement and fighting until re-enabled by a function? As in: Me.InCombat = true; Battleground.Dispose(); ...fight class with personal movement and targeting... Me.InCombat = false; Battleground.Run(); Link to comment Share on other sites More sharing options...
Droidz 2737 Posted November 8, 2016 Share Posted November 8, 2016 Hello, wManager.Events.FightEvents.OnFightStart += (target, cancelable) => { cancelable.Cancel = true; while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && ObjectManager.Me.InCombat) { // you custom move.... } }; Drwolftech 1 Link to comment Share on other sites More sharing options...
Drwolftech 25 Posted November 9, 2016 Share Posted November 9, 2016 14 hours ago, Droidz said: Hello, wManager.Events.FightEvents.OnFightStart += (target, cancelable) => { cancelable.Cancel = true; while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && ObjectManager.Me.InCombat) { // you custom move.... } }; There is any way to add the fight class profile to block the bot to control the movement? Link to comment 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