Apexx 60 Posted September 15, 2018 Share Posted September 15, 2018 Is it possible to pause a plugin while the player is in combat? In my plugin, if I put a Thread.Sleep, it appears that it sleeps the entire bot thread. Link to comment https://wrobot.eu/forums/topic/10103-pause-plugin-while-fight-class-finishes-combat/ Share on other sites More sharing options...
Droidz 2738 Posted September 15, 2018 Share Posted September 15, 2018 Hello, while (wManager.Wow.Helpers.Fight.InFight) System.Threading.Thread.Sleep(50); Link to comment https://wrobot.eu/forums/topic/10103-pause-plugin-while-fight-class-finishes-combat/#findComment-47468 Share on other sites More sharing options...
Apexx 60 Posted September 15, 2018 Author Share Posted September 15, 2018 Of course it was that easy. I should have known. Thanks a lot @Droidz! Much appreciated! Link to comment https://wrobot.eu/forums/topic/10103-pause-plugin-while-fight-class-finishes-combat/#findComment-47469 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