Return point height

Asdfblah1

New Member
Reaction score
10
How would I go about retrieving the height of a point? (x, y, h)

I'm making a randomly generated terrain and when placing trees, I want them to stay away from cliffs. It would be easy if I could just get the height.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Set Point = Position of ...
Custom script: set udg_MyRealVariable = GetLocationZ( udg_Point )

Where "Point" is a variable of type point,
and "MyRealVariable" of type real.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top