While nearRoads, roadAt and isOnRoad exists there is no script commands that return the actual road type. typeOf returns "" and as far as I know you can't use isKindOf to check.
- Operating System
- Windows 10 x64
There are solutions like this one: https://forums.bohemia.net/forums/topic/175210-get-road-type/?do=findComment&comment=3223843 though it would be much more preferable to have a script command to return the road type directly, like modifying typeOf to return road types instead of ""