reapler 154 Posted May 16, 2017 Share Posted May 16, 2017 Hello, i would like to ask if someone knows an event which fires on generate path requests and also return the start & end position for the requested path. The current event which i'm using is "MovementEvents.OnMovementPulse" but it has already generated the path to the destination. The reason is why i need that is i want to diminish the effort for my plugin because i don't need the generated path and it's pointless if it takes a few seconds to generate while i only need the start & destination position in the end. Link to comment Share on other sites More sharing options...
Droidz 2733 Posted May 16, 2017 Share Posted May 16, 2017 Hello, you can disable PathFinder here: wManagerSetting.CurrentSetting.UsePathsFinder For the events, wait next update I added: wManager.Events.OthersEvents.OnPathFinderFindPath // Vector3 from, Vector3 to, string continentNameMpq, CancelEventArgs cancelable wManager.Events.OthersEvents.OnPathFinderFindPathResult // Vector3 from, Vector3 to, List<Vector3> path, string continentNameMpq, bool resultSuccess reapler 1 Link to comment Share on other sites More sharing options...
reapler 154 Posted May 16, 2017 Author Share Posted May 16, 2017 That fits perfect, tank you Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now