Jump to content

[Solved] Range Check


Recommended Posts

Looking for some help with creating a code snippet or pluigin, etc. That will pause a classflight, won't attempt to use abilities, then will check target distance. If the distance to the target is less than X it will move back by X than resume the flightclass rotation. 

*Yes this is for a hunter flightclass

*I have everything working for a vanilla hunter flightclass, but the deadzone issues where it gets stuck between melee and range. 

Link to comment
Share on other sites

19 minutes ago, Andreavnn said:

Looking for some help with creating a code snippet or pluigin, etc. That will pause a classflight, won't attempt to use abilities, then will check target distance. If the distance to the target is less than X it will move back by X than resume the flightclass rotation. 

*Yes this is for a hunter flightclass

*I have everything working for a vanilla hunter flightclass, but the deadzone issues where it gets stuck between melee and range. 

here is something pretty basic, modify it as you see fit.

Backitup.cs

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