February 29, 201610 yr Hi Im working on a profile for the TB daily quests. Does anyone know if there is any syntax for checking if a npc has a quest available? Like honorbuddy has with "if (HasQuestAvailable(NPC-id));" Best regards
February 29, 201610 yr Author I guess something like wManager.Wow.ObjectManager.WoWUnit npc = new wManager.Wow.ObjectManager.WoWUnit(48255); if (npc.NpcMarkerId.Equals(7)) { } would work in c# code but i dont know how to implement it into a questing profile
March 1, 201610 yr Author This works kinda the same <QuestsSorted Action="RunMacroLua" NameClass="/target Quest NPC" /> <QuestsSorted Action="While" NameClass="wManager.Wow.ObjectManager.ObjectManager.Target.NpcMarkerId.Equals(7) || wManager.Wow.ObjectManager.ObjectManager.Target.NpcMarkerId.Equals(6)
" /> But would be nice with a cleaner solution
Create an account or sign in to comment