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

Distance to the current POI

rivus

Member
Joined
Jan 15, 2010
Messages
45
Reaction score
0
I've got a little idea on a plugin, but I can't find what method must I override.

The idea is :

When current target(hotspot/poi) is more than x yards away, do ...



Edit : Figured it out how to override, but still can't find the current POI distance...
I can get it if it's a POI like a trainer or a fly master, but cannot if it's a place to grind or quest...

Also, how do I override resurrection? Can't find the right function :(
 
Last edited:
No one at all? O_o
I have the BotPoi.Current.Location, but it has a location only if the bot is looting, running to a vendor or quest giver.. How can I get the current hotspot that HB is pathing itself to ? (yes, I mean like a grind hotspot, item collect hotspot, or whatever)
 
This is what I use:

int poiDistance = (int)BotPoi.Current.Location.Distance(StyxWoW.Me.Location);

if (poiDistance < CLCTravelFormMinDistance) returnfalse;
 
But still. The coordinates 0.0.0 if the current POI is a hotspot or whatever...
 
Last edited:
Back
Top