Jump to content

[hunter] Range code ?


Recommended Posts

I can't tell exactly what you're asking for, but assuming the range that you have to start meleeing at is 5, the below should work.

using wManager.Wow.ObjectManager;

if (ObjectManager.Target.GetDistance <= 5){
 // do melee stuff
}
else {
 // do ranged stuff
}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...