News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

squirrel script - Script AI

Started by Andarix, October 11, 2026, 06:46:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

The script AI's pathfinding ignores "private road" signs.

This results in a path being successfully constructed, yet vehicles are unable to use it.

This affects both pathfinding across open terrain (for new routes) and navigation along existing paths.



This also applies to the new dialogue path builder.

victor_18993

I'll check it in case there were changes since the last version, 

best regards.
En la vida todo son vivencias y cada una de ellas nos hace mas grandes,¿Como de grande eres tu? :)

prissi

I looked at is_allowed_step, and that routine has accumulated a lot of crap. It never checked for road_signs at all. I will work in this, since I changed the way builder a lto recently anyway.