I'd like to request expansion of terrainIntersect* commands to include an option to ignore sea surface. I use this command to quickly check if entity is obstructed by the terrain but it also counts sea surface as obstruction which makes it problematic for checks against swimming units and requires me to add special conditions which adds up in per frame execution.
I think that this can be implemented by adding a flag as 3rd argument to all 3 commands:
terrainIntersect [from, to, ignore_sea]
terrainIntersectASL [from, to, ignore_sea]
terrainIntersectAtASL [from, to, ignore_sea]
with ignore_sea being optional and false by default