What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

public uint NpcFlags and public uint NpcEmoteState documentation?

WileE91

Member
Joined
Jan 15, 2010
Messages
145
Reaction score
1
Any documentation around for the WoWUnit properties NpcFlags and NpcEmoteState?
I want to check if any questgivers in the vicinity has the yellow questionmark (quest complete) up.
Is it possible btw?
Recently started developing and I've gotten the feeling that there's alot of documentaion missing :S
 
Use the Visual Studio object browser to find class Styx.WoWInternals.WoWObjects.WoWUnit.QuestGiverStatus and enum Styx.QuestGiverStatus - I think these give what you're looking for.

Here's some sample code from one of my projects, that finds Quest Givers with a yellow or blue exclamation point (quest available):

PHP:
using Styx;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;

        private List<WoWUnit> GetQuestGivers()
        {
            return (from o in ObjectManager.GetObjectsOfType<WoWUnit>()
                    where !_localBlacklist.ContainsKey(o.Guid)
                    && (o.QuestGiverStatus == QuestGiverStatus.Available
                    || o.QuestGiverStatus == QuestGiverStatus.AvailableRepeatable
                        //|| u.QuestGiverStatus == QuestGiverStatus.TurnIn
                        //|| u.QuestGiverStatus == QuestGiverStatus.TurnInRepeatable
                    )
                    orderby o.Distance
                    select o).ToList();
        }
 
Last edited:
Kudos mate!
Missed the QuestGiverStatus property :(
Didn't see the forest for all the trees :D
 
Back
Top