Jump to content

Vanish, stop fighting, find a safe spot

Recommended Posts

  • 2 months later...
  • 5 months later...
  • 1 month later...
  • 1 month later...
internal void VanishFunction()
	Vector newPos = new Vector(Some X/Y Pos based on tar);
	if (ObjectManager.GetWoWUnitHostile().Count(u => u.Position.DistanceTo(newPos) <= 30 && !u.InCombat && u.IsAttackable) == 0)
		find new vector pos and check that

if(Conditions set by you)

This is the gist of it.

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...