# Point With Z Offset
Grammar — p offset by z height
Flags —Function
Returns a point with the X and Y position of the specified point, and Z position of the specified Z.
# Arguments
point
— Pointfixed
— Z
Returns — point
point libNtve_gf_PointWithZOffset(point lp_p, fixed lp_z);
# Related
Category: Point / Offsets
- [F] —
point
— Point Facing Angle — ( libNtve_gf_PointFacingAngle ) - [F] —
point
— Point With Z Offset — ( libNtve_gf_PointWithZOffset ) - [F] —
point
— Point With Offset — ( PointWithOffset ) - [F] —
point
— Point With Polar Offset — ( PointWithOffsetPolar ) - [F] —
point
— Point Offset Towards Point — ( libNtve_gf_PointOffsetTowardsPoint ) - [F] —
point
— Random Point Between Points — ( libNtve_gf_RandomPointBetweenPoints ) - [F] —
point
— Reflected Point — ( PointReflect ) - [F] —
point
— Interpolated Point — ( PointInterpolate ) - [F] —
point
— Mid-Point — ( MidPoint )
# Examples
# campaigns/liberty.sc2campaign
// L4705
libNtve_gf_PointWithZOffset(lv_spawnLoc, gv_c_PlaneHeight)
// L7117
libNtve_gf_PointWithZOffset(lv_spawnLoc, gv_c_PlaneHeight)
// L26409
libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 0.5, UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor))), 0.5)
// L26563
libNtve_gf_PointWithZOffset(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorTychus)), 0.7)
// L26677
libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorTychus)), 0.6, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorTychus)) - 15.0)), 0.65)
// L28660
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28793
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28804
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28815
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28935
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28951
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28953
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L4366
libNtve_gf_PointWithZOffset(UnitGetPosition(UnitFromId(430)), 0.7)
// L4705
libNtve_gf_PointWithZOffset(lv_spawnLoc, gv_c_PlaneHeight)
// L7117
libNtve_gf_PointWithZOffset(lv_spawnLoc, gv_c_PlaneHeight)
// L26409
libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 0.5, UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor))), 0.5)
// L26563
libNtve_gf_PointWithZOffset(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorTychus)), 0.7)
// L26677
libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorTychus)), 0.6, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorTychus)) - 15.0)), 0.65)
// L28660
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28793
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28804
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28815
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28935
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28951
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L28953
libNtve_gf_PointWithZOffset(PointFromId(676), 0.8)
// L4366
libNtve_gf_PointWithZOffset(UnitGetPosition(UnitFromId(430)), 0.7)
// L3007
libNtve_gf_PointWithZOffset(UnitGetPosition(gv_objectiveDummyHelper), 2.5)
// L5812
libNtve_gf_PointWithZOffset(PointFromId(36), 0.0)
// L8870
libNtve_gf_PointWithZOffset(UnitGetPosition(EventUnit()), 12.0)
// L9757
libNtve_gf_PointWithZOffset(PointFromId(4148), 8.0)
// L5812
libNtve_gf_PointWithZOffset(PointFromId(36), 0.0)
// L8870
libNtve_gf_PointWithZOffset(UnitGetPosition(EventUnit()), 12.0)
// L9757
libNtve_gf_PointWithZOffset(PointFromId(4148), 8.0)
// L3007
libNtve_gf_PointWithZOffset(UnitGetPosition(gv_objectiveDummyHelper), 2.5)
# campaigns/swarmstory.sc2campaign
// L9274
libNtve_gf_PointWithZOffset(libSwaC_gv_center, libSwaC_gv_zSC_ARMYEVOLUTIONSETHEIGHT)
// L9304
libNtve_gf_PointWithZOffset(libSwaC_gv_center, libSwaC_gv_zSC_ARMYEVOLUTIONSETHEIGHT)
# campaigns/void.sc2campaign
// L1026
libNtve_gf_PointWithZOffset(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster"), (PointGetHeight(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster")) + 0.03))
// L1026
libNtve_gf_PointWithZOffset(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster"), (PointGetHeight(UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_EvolutionMaster")) + 0.03))
# mods/heroesdata.stormmod
// L17379
libNtve_gf_PointWithZOffset(lv_deadUnitsOriginalLocation, 2.0)
# mods/starcoop/starcoop.sc2mod
// L12699
libNtve_gf_PointWithZOffset(UnitGetPosition(lv_chosenTarget), 2.0)
// L12711
libNtve_gf_PointWithZOffset(UnitGetPosition(lv_chosenTarget), 2.0)
// L12724
libNtve_gf_PointWithZOffset(lv_pDDTarget, 2.0)
// L12728
libNtve_gf_PointWithZOffset(lv_pDDTarget, 2.0)
// L12733
libNtve_gf_PointWithZOffset(lv_pDDTarget, 2.0)
// L12737
libNtve_gf_PointWithZOffset(lv_pDDTarget, 2.0)
// L12741
libNtve_gf_PointWithZOffset(lv_pDDTarget, 2.0)
// L12754
libNtve_gf_PointWithZOffset(UnitGetPosition(lv_chosenTarget), 2.0)