lsabakal 2 Posted September 17, 2023 Share Posted September 17, 2023 @Droidz Hey how i can combine this into one code. wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(10034.62, -7000.313, 61.74968), 184502); with this { wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = false; wManager.Wow.Helpers.ItemsManager.UseItem(6948); // http://www.wowhead.com/item=6948/hearthstone System.Threading.Thread.Sleep(1000 * 20); // 20 secondes wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = true; } this game object teleport out of bloodelf zone, and the bot will be closed. Link to comment Share on other sites More sharing options...
Zan 99 Posted September 17, 2023 Share Posted September 17, 2023 3 hours ago, lsabakal said: @Droidz Hey how i can combine this into one code. wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(10034.62, -7000.313, 61.74968), 184502); with this { wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = false; wManager.Wow.Helpers.ItemsManager.UseItem(6948); // http://www.wowhead.com/item=6948/hearthstone System.Threading.Thread.Sleep(1000 * 20); // 20 secondes wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = true; } this game object teleport out of bloodelf zone, and the bot will be closed. Replace UseItem line with it. lsabakal 1 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