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 https://wrobot.eu/forums/topic/5896-pathfinder-event-start-end/ Share on other sites More sharing options...
Droidz 2738 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 https://wrobot.eu/forums/topic/5896-pathfinder-event-start-end/#findComment-26808 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 https://wrobot.eu/forums/topic/5896-pathfinder-event-start-end/#findComment-26823 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