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

Trying to find the nearest profession trainer, for a specific profession

pbettell

Member
Joined
Mar 14, 2010
Messages
432
Reaction score
17
So I know I can use

Styx.Database.NpcQueries.GetNearestNpc(Styx.WoWInternals.WoWFactionTemplate, uint, Styx.Logic.Pathing.WoWPoint, Styx.UnitNPCFlags)

To return the nearest npc, but within UnitNPCFlags, I can't seem to get anymore specific than "ProfessionTrainer"

I'm trying to write a plugin that trains Skinning/Herbalism/Mining automatically, but can't send it to the right trainer.
 
Back
Top