bittzz 0 Posted February 29, 2016 Share Posted February 29, 2016 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 Link to comment https://wrobot.eu/forums/topic/2779-check-if-npc-has-quest-available/ Share on other sites More sharing options...
saleh 13 Posted February 29, 2016 Share Posted February 29, 2016 good point me too want ask the same question Link to comment https://wrobot.eu/forums/topic/2779-check-if-npc-has-quest-available/#findComment-12712 Share on other sites More sharing options...
bittzz 0 Posted February 29, 2016 Author Share Posted February 29, 2016 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 Link to comment https://wrobot.eu/forums/topic/2779-check-if-npc-has-quest-available/#findComment-12713 Share on other sites More sharing options...
bittzz 0 Posted March 1, 2016 Author Share Posted March 1, 2016 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 Link to comment https://wrobot.eu/forums/topic/2779-check-if-npc-has-quest-available/#findComment-12730 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