RPG Maker Forums

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 :(

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,472
Members
137,822
Latest member
madelbylz
Top