Actually I just found a solution! I started looking for other ways of getting target info and found the npc unitID. I can just pull it from that while in a trade window when the TRADE_SHOW event pops. I'm not familiar with WoW's API at all yet, I guess I should've looked harder before posting here.
|