The streetconnections are sometimes a bit weired.
Normal roadpieces have everytime 2 roads connected as expected.
But crossings and T-ends are totally weired.
crossings are realized as two streets crossing each othjer but not touching each other like one street is a tunnel. T-ends are sometimes as expected: 1 roud connected to 3 others. But sometimes it is just a roud with 2 connected roads and a dead end road but for a human it is obviously connected...
Description
Description
Details
Details
- Legacy ID
- 382841794
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
I wrote a small piece of code to display number of connected roads:
_roads = (getPos player) nearRoads 500;
_i = 0;
{
_marker = createMarker[format["test%1", _i], getPos _x];
_marker setMarkerColor "ColorYellow";
_marker setMarkerShape "ICON";
_marker setMarkerType "hd_dot";
_marker setMarkerText str(count(roadsConnectedTo _x));
_i = _i + 1;
}
foreach _roads;
go into editor (altis)
place a player unit in the city Poliakko (109/134)
hit preview
hit escape
execute the posted code
open the map (m)
check the crossings and T-ends especially at 1094/1348 and 1102/1348
Additional Information
this makes routplanning impossible using roadsConnectedTo