In this example, I have the bot run to a NPC, accept the quest, and then run do the quest.
Any suggestions/thoughts on this?
Code: Select all
TaskManager.Enqueue(BotAction.Path, "Level3-WolvesAfterKingsfoil");
TaskManager.Enqueue(BotAction.Hail, "Dirk"); //Dirk Mudbrick
TaskManager.Enqueue(BotAction.Rest, 500);//Rest for 1/2 seconds
TaskManager.Enqueue(BotAction.Click, (Point)Globals._p.GetPoint("QUEST_LEFT_BUTTON")); //Acce Quest
TaskManager.Enqueue(BotAction.Rest, 3000);//Rest for 3 seconds
TaskManager.Enqueue(BotAction.Path, "Level3-DirkToSpyPatrol");
PatrolArea Patrol = new PatrolArea ();
Patrol .Path = "Level3-Patrol-BlackwoldSpy";
Patrol .MobArray = new Hashtable();
Patrol .MobArray.Add("Blackwold Spy", 1);//1 blackwold spy Required for QUEST stop when done
Patrol .MobArray.Add("Bristlehide Piglet", 0); //Kill as many as you see
Patrol .MobArray.Add("Growling Dusk-wolf", 0);//Kill as many as you see
TaskManager.Enqueue(BotAction.Patrol, Patrol ); // Do the patrol