February 27, 20188 yr got this problem npc is dead and i have to interact with it, bot doesnt find npc and skipping this step going next one, is there a code to wait for the npc until it spawns and then start interacting?
February 27, 20188 yr Author ok got it, and what if i have to wait for npc to respawn and then interact with it
February 27, 20188 yr Author 2 minutes ago, Mike-Mail said: is it for a quester or gather? quester im trying to do http://www.wowhead.com/quest=11794/the-hunt-is-on and sometimes the npc is dead and i need a code to wait for it to respawn
February 27, 20188 yr Author new problem i need to kill npc loot it then target it and use item on it any advice Thread t = new Thread(() => { uint itemId = 35943; int questId = 12035; while (robotManager.Products.Products.IsStarted) { if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause) { if (!Quest.HasQuest(12035)) break; if (ObjectManager.Target.IsValid && ObjectManager.Target.IsDead) { ItemsManager.UseItem(35943); } } Thread.Sleep(1000); } }); t.Start(); tryed this but it doesnt target the body and i cant use the quest item if i dont have a target
February 27, 20188 yr You can either use ObjectManager.Me.Target = guid to target the NPC, or use Interact.InteractGameObject(unit.GetBaseAddress)
February 28, 20188 yr Author got it working now i need to click on an object thats in the air wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(2614.84, 5266.78, 52.2882), 188163); this doesnt work tryed interacting gather and still have no idea,this quest http://www.wowhead.com/quest=11965/call-to-arms geting ] Cannot make path to the target (Bell Rope), ignore it.
Create an account or sign in to comment