Jump to content

xEdit scripting. Know the Z value of terrain in a specific XY position.


Recommended Posts

Hello to all.

I have a question about xEdit script. By giving X and Y value of position, it is possible to know the Z value of terrain at that position?

Please, check the attachment for more details.

Thank you.

terrain.jpg

Link to comment
Share on other sites

Well, if that particular spot is navmeshed,  I suppose you could try determining into which navmesh triangle it falls, and then you can extrapolate the Z from navmesh vertices forming the triangle.   Would require a bit of rather serious math.  Otherwise, the only way to determine the Z is to actually  examine that landscapes .nif file, and determining in which triangle X/Y point is.      

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...