[Ace] problem with Khas pathfinding

● ARCHIVED · READ-ONLY
Started by Chaosgod_Espér 2 posts View original ↗
  1. So again - hi ^^

    I´ve a problem with khas pathfinding.

    The problem is, that i use it to create many paralell paths for different events - like in RTS Games.

    Now i found out.

    Khas pathfinding creates a path, doesn´t matter the path is impossible to run or not.. it always creates a move_route. BUT, the events is only running, when the target is reachable.

    What i need:

    • How to ask for each single event, if its path is possible to run?

    • How can i call the find_path in a script (not from a call_script)

    what i tried right now is, to checkout the @move_route in Game_Character, if it´s list.size is 0. But that´s not working, cause khas system creates a route, even if the target is not reachable.

    And this results in the problem, that i can't check if an event can't reach its target, to set it on an idle list :/

    The sense behind:

    I want events to run to a specific point that i select. And return something if the target point is not reachable.

    Its the most important script in my project.. so it's really urgent :/

    /me hopes for help :(
  2. Can you provide the script here? The page linked in its thread is no longer available.