Why 'Y' parameter?

Blitz3D Forums/Blitz3D Beginners Area/Why 'Y' parameter?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I did have a snippet of code that went something like:

Altitude=(EntityY(Ship,1)-(TerrainY(Terrain,EntityX(ship,1),(EntityY(Ship,1)),EntityZ(Ship,1)))

This was giving some rather odd readings, until I did as suggested, and put a 0 in...