# Set Point Height

Grammar — Set the height of p to height
FlagsNative | Action

Changes the height of a point, relative to the terrain.

# Arguments

  • point — Point
  • fixed — Height

Returns — void

native void PointSetHeight(point p, fixed inHeight);

Category: Point / Creation And Modification

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L3995
PointSetHeight(lv_point, lp_y2)
// L3282
PointSetHeight(lv_point, lp_y2)

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L594
PointSetHeight(lv_noTargetPoint, 10.0)
// L610
PointSetHeight(lv_noTargetPoint, 10.0)
// L1020
PointSetHeight(lv_departPoint, UnitGetHeight(lp_damagedUnit))
// L1031
PointSetHeight(lv_teleportPoint, UnitGetHeight(lp_damagedUnit))