Code:
GrindArea g = new GrindArea();
WoWPoint p = new WoWPoint(100,1000,100);
g.TargetMaxLevel = 81;
g.TargetMinLevel = 1;
g.Hotspots.Add(p);
StyxWoW.AreaManager.Add(g);
StyxWoW.AreaManager.SetArea(g);
StyxWoW.AreaManager.CurrentGrindArea.CycleToNearest();
i wanted to create a plugin that would add hotspots to the current profile on the fly...
i asked apoc on IRC and he did say that this SHOULD work..
but it doesn't seem to work for me..
i know it will add all the proper hotspots to the grindarea g..
but how come it doesn't actually grind at the hotspots i tell it to?
does HB read the profiles everynow and then to get the hotspots and therefore deletes what i have added?
any help would be appreciated.. thank u
edit : added code for levels.. wondering if that would help but no
