This is an old revision of the document!
⇐ Index
GetPointerTerrainCoords ->cellZ ->cellX
Gets the map cell coordinates current pointed at by the game pointer (the mouse). A ray projection is done from the pointer through the 3D world and a collision is checked at each terrain height level. So this API will return the location on the map surface that the pointer is pointing towards.
ShowTerrainRangeIndicator(GetPointerTerrainCoords 10 false)
⇐ Index