My problem is I am not so good at maths, does anyone have a script or funciton that checks that the straight line between two points does not pass through any ground such as hills. The reason I need this formula is becuase I am working on a script so when an AI soldier knows the roughly the location of an enemy soldier but cannot see him directly he will supress that position with indirect fire.
Would apreciate any Redhouse