The Bliz API only has functionality for setting the raid icon, not 'reading' it. 'Reading' the raid icon would take low-level injection functionality which Honorbuddy doesn't have. You're out of luck. cheers, chinajade
next time run a search. http://www.thebuddyforum.com/honorb...rum/24197-does-hb-api-support-raid-icons.html
Not true btw: Code: public enum RaidTargetIcon { None = 0, Star = 1, Circle = 2, Diamond = 3, Triangle = 4, Moon = 5, Square = 6, Cross = 7, Skull = 8, } public static class RaidTargetExtension { public static void SetRaidTarget(this WoWUnit unit, RaidTargetIcon icon) { WoWUnit currentTarget = StyxWoW.Me.CurrentTarget; unit.Target(); Lua.DoString("SetRaidTarget(\"target\", {0});", (int)icon); currentTarget.Target(); } public static RaidTargetIcon GetRaidTarget(this WoWUnit unit) { WoWUnit currentTarget = StyxWoW.Me.CurrentTarget; unit.Target(); int icon = Lua.GetReturnVal("return GetRaidTargetIndex(\"target\");", 0); currentTarget.Target(); if (icon > 8 || icon < 0) return RaidTargetIcon.None; return (RaidTargetIcon)icon; } }