# Height Of Point

Grammar — Height of p
FlagsNative | Function

Returns the height of the specified point, relative to the terrain, as a real value. To place a point with a non-zero height in the Terrain Editor, use the Three Dimensional point type.

# Arguments

  • point — Point

Returns — fixed

native fixed PointGetHeight(point p);

Category: Point / Measurements

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L165
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETKaldir, "Pos_SetLocation"))
// L167
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETKaldir, "Pos_SetLocation 01"))
// L151
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETDusk00, "Pos_SetLocation"))
// L145
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETSpace02, "Pos_SetLocation"))
// L141
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETZerus00, "Pos_SetLocation"))
// L144
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETZerus00, "Pos_SetLocation"))
// L165
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETKaldir, "Pos_SetLocation"))
// L167
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETKaldir, "Pos_SetLocation 01"))
// L151
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETDusk00, "Pos_SetLocation"))
// L145
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETSpace02, "Pos_SetLocation"))
// L141
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETZerus00, "Pos_SetLocation"))
// L144
PointGetHeight(UnitGetAttachmentPoint(gv_uNITSETZerus00, "Pos_SetLocation"))

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L7747
PointGetHeight(lv_eggLocation)
// L8930
PointGetHeight(lv_offset)
// L8955
PointGetHeight(lv_offset)

# campaigns/void.sc2campaign

MapScript.galaxy

// L714
PointGetHeight(libVCST_gf_StoryModeDefaultPosition())
// L1026
PointGetHeight(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster"))
// L714
PointGetHeight(libVCST_gf_StoryModeDefaultPosition())
// L1026
PointGetHeight(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster"))

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L3801
PointGetHeight(lp_location)

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L1190
PointGetHeight(lp_point)
// L1199
PointGetHeight(lp_location)
// L1200
PointGetHeight(lp_location)

# mods/core.sc2mod

NativeLib.galaxy

// L399
PointGetHeight(lp_position)
// L414
PointGetHeight(lp_position)
// L4007
PointGetHeight(lp_point)
// L275
PointGetHeight(lp_position)
// L297
PointGetHeight(lp_position)
// L3306
PointGetHeight(lp_point)

# mods/missionpacks/novacampaign.sc2mod

LibNCST.galaxy

// L1083
PointGetHeight(lp_point)
// L1091
PointGetHeight(lp_location)
// L1092
PointGetHeight(lp_location)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L3152
PointGetHeight(lp_location)

# mods/warcoop/warclassic.sc2mod

WarClassic.galaxy

// L269
PointGetHeight(lp_position)