# Set Point Height
Grammar — Set the height of p to height
Flags —Native
|Action
Changes the height of a point, relative to the terrain.
# Arguments
point
— Pointfixed
— Height
Returns — void
native void PointSetHeight(point p, fixed inHeight);
# Related
Category: Point / Creation And Modification
- [F] —
point
— Point From XYZ — ( libNtve_gf_PointFromXYZ ) - [F] —
point
— Point From XY — ( Point ) - [F] —
point
— Point From Name — ( PointFromName ) - [F] —
void
— Move Point — ( PointSet ) - [F] —
void
— Make Point Face Angle — ( PointSetFacing ) - [F] —
void
— Set Point Height — ( PointSetHeight )
# Examples
# mods/core.sc2mod
// L3995
PointSetHeight(lv_point, lp_y2)
// L3282
PointSetHeight(lv_point, lp_y2)
# mods/starcoop/starcoop.sc2mod
// 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))