Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Pathfinder.Road to use AI API instead of GS API [issue from DevZone] #1

Open
Leffe108 opened this issue Apr 2, 2020 · 0 comments

Comments

@Leffe108
Copy link
Contributor

Leffe108 commented Apr 2, 2020

http://wiki.openttd.org/AI:RoadPathfinder describes how to use Pathfinder.Road but it does not work as expected since version 4 uses the GameScript API and not the AI API. Minor changes are required (replace GS* to AI* in main.nut and library.nut).

Please find the new version attached - it worked for me.

Pathfinder.Road-5.tar - new version using the AI API (38 KB)

Source

original issue reported by yozi about 6 years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant