newrobot() 0 Posted January 31, 2019 Share Posted January 31, 2019 Hey, I made a plugin to stop the bot at a certain point and make him move again at a later point however my problem is that the method I use is Products.ProductStop(); obviously this also disables the plugin which is needed to re-activate him with Products.ProductStart(); is there any other good method to temp stop him completely? Link to comment https://wrobot.eu/forums/topic/10741-make-bot-wait/ Share on other sites More sharing options...
Dreamful 148 Posted January 31, 2019 Share Posted January 31, 2019 Anything needs to happen while waiting or he only want to wait and do nohting ? Your question is actually a bit unclear. You can add Thread.Sleep into your function, Thread.Sleep(5000) // Wait 5 Seconds Link to comment https://wrobot.eu/forums/topic/10741-make-bot-wait/#findComment-51245 Share on other sites More sharing options...
newrobot() 0 Posted January 31, 2019 Author Share Posted January 31, 2019 I don't want him to do anything basically I want him to afk but the plugin needs to run as it's observer I'd implement it into the FightClass but the movement is not controlled by that so that's why I'm looking for something to pause the bot completely movement, targeting, attacking hence I tried to use Products.ProductStop() Link to comment https://wrobot.eu/forums/topic/10741-make-bot-wait/#findComment-51246 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