June 9, 20196 yr wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(-1322.357, 4042.352, 116.4912), 181606);
June 9, 20196 yr This better var Object = ObjectManager.GetNearestWoWGameObject(ObjectManager.GetWoWGameObjectByEntry(1234)); // or var Object = ObjectManager.GetObjectWoWGameObject().Where(o => o.IsValid && o.Entry == 1234).OrderBy(o => o.GetDistance).FirstOrDefault(); if (GoToTask.ToPosition(new Vector3(1, 2, 3, "Flying"))) // replace "flying" with "None" to ground move { if (Object != null) { Interact.InteractGameObject(Object.GetBaseAddress); Usefuls.WaitIsCasting(); } } Recommend:
June 18, 20196 yr // here // Go to specific location, and Useitem on Object and Harvest + Quest required (RunCode) - me var pos = new Vector3(-2496.714f, -1632.943f, 91.73521f); uint itemId = 15710; int objectId = 177644; int questId = 6002; wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(pos, objectId); Thread.Sleep(Usefuls.Latency + 10000); if (Quest.HasQuest(questId)) { ItemsManager.UseItem(itemId); wManager.wManagerSetting.CurrentSetting.ListHarvest.Add(177644); } // You can also just make a RuNCode to "go to position - or a follow path" and make a RunCode - and just use the Harvest code at the bottom.(enter the object id u want to harvest/clickon)
Create an account or sign in to comment