# Set Path Display Destination Point
Grammar — Set pathDisplay destination Point
Flags —Native
|Action
# Arguments
int
[ path ] — Path Displaypoint
— Destination
Returns — void
native void PathSetDestinationPoint(
int inPathId,
point inDestination,
);
# Related
Category: UI / Path Display
- [F] —
int
[ path ] — Create Path Display For Unit — ( PathCreateForUnit ) - [F] —
int
[ path ] — Create Path Display For Unit Type — ( PathCreateForUnitType ) - [F] —
int
[ path ] — Last Path Display Created — ( PathLastCreated ) - [F] —
void
— Destroy Path Display — ( PathDestroy ) - [F] —
void
— Destroy Path Displays For Players — ( PathDestroyAll ) - [F] —
void
— Set Path Display Destination Point — ( PathSetDestinationPoint ) - [F] —
point
— Get Path Display Destination Point — ( PathGetDestinationPoint ) - [F] —
void
— Set Path Display Destination Unit — ( PathSetDestinationUnit ) - [F] —
unit
— Get Path Display Destination Unit — ( PathGetDestinationUnit ) - [F] —
void
— Set Path Display Source Point — ( PathSetSourcePoint ) - [F] —
point
— Get Path Display Source Point — ( PathGetSourcePoint ) - [F] —
void
— Set Path Display Source Unit — ( PathSetSourceUnit ) - [F] —
unit
— Get Path Display Source Unit — ( PathGetSourceUnit ) - [F] —
unit
— Get Path Display Unit — ( PathGetUnit ) - [F] —
string
[ gamelink::Unit ] — Get Path Display Unit Type — ( PathGetUnitType ) - [F] —
void
— Set Path Display Line Texture — ( PathSetLineTexture ) - [F] —
string
[ filepath ] — Get Path Display Line Texture — ( PathGetLineTexture ) - [F] —
void
— Set Path Display Line Tile Length — ( PathSetLineTileLength ) - [F] —
fixed
— Get Path Display Line Tile Length — ( PathGetLineTileLength ) - [F] —
void
— Set Path Display Line Width — ( PathSetLineWidth ) - [F] —
fixed
— Get Path Display Line Width — ( PathGetLineWidth ) - [F] —
void
— Set Path Display Step Midpoint — ( PathSetStepMidpoint ) - [F] —
fixed
— Get Path Display Step Midpoint — ( PathGetStepMidpoint ) - [F] —
void
— Set Path Display Step Model — ( PathSetStepModel ) - [F] —
string
[ filepath ] — Get Path Display Step Model — ( PathGetStepModel ) - [F] —
void
— Set Path Display Step Model Scale — ( PathSetStepModelScale ) - [F] —
fixed
— Get Path Display Step Model Scale — ( PathGetStepModelScale ) - [F] —
void
— Set Path Display Color — ( PathSetColor ) - [F] —
color
— Get Path Display Color — ( PathGetColor ) - [F] —
void
— Set Path Display Visibility — ( PathSetVisible ) - [F] —
bool
[ preset::VisibleHiddenOption ] — Get Path Display Visibility — ( PathGetVisible ) - [F] —
void
— Set Path Display Abil Class Filter — ( PathSetAbilClassFilter ) - [F] —
void
— Clear Path Display Waypoints — ( PathClearWayPoints ) - [F] —
void
— Add Path Display Waypoint — ( PathAddWayPoint ) - [F] —
void
— Set Path Display Minimum Linear Distance — ( PathSetMinimumLinearDistance ) - [F] —
fixed
— Get Path Display Minimum Linear Distance — ( PathGetMinimumLinearDistance ) - [F] —
void
— Set Path Display Minimum Travel Distance — ( PathSetMinimumTravelDistance ) - [F] —
fixed
— Get Path Display Minimum Travel Distance — ( PathGetMinimumTravelDistance ) - [F] —
void
— Set Path Display Minimum Turn Count — ( PathSetMinimumStepCount ) - [F] —
int
— Get Path Display Minimum Turn Count — ( PathGetMinimumStepCount )
# Examples
# mods/heroes.stormmod
// L335
PathSetDestinationPoint(PathLastCreated(), PointFromId(80))
// L348
PathSetDestinationPoint(PathLastCreated(), PointFromId(542))
// L364
PathSetDestinationPoint(PathLastCreated(), PointFromId(380))
// L2347
PathSetDestinationPoint(PathLastCreated(), PointFromId(393064320))
// L3419
PathSetDestinationPoint(PathLastCreated(), lv_watchtowerPoint)
// L3787
PathSetDestinationPoint(PathLastCreated(), PointFromId(180))
// L4174
PathSetDestinationPoint(PathLastCreated(), UnitGroupCenterOfGroup(gv_siegeGiantsMercs))
// L4195
PathSetDestinationPoint(PathLastCreated(), UnitGroupCenterOfGroup(gv_siegeGiantsMercs))
// L1752
PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex])
// L2558
PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex])
// L2579
PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex])
// L335
PathSetDestinationPoint(PathLastCreated(), PointFromId(80))
// L348
PathSetDestinationPoint(PathLastCreated(), PointFromId(542))
// L364
PathSetDestinationPoint(PathLastCreated(), PointFromId(380))
// L2347
PathSetDestinationPoint(PathLastCreated(), PointFromId(393064320))
// L3419
PathSetDestinationPoint(PathLastCreated(), lv_watchtowerPoint)
// L3787
PathSetDestinationPoint(PathLastCreated(), PointFromId(180))
// L4174
PathSetDestinationPoint(PathLastCreated(), UnitGroupCenterOfGroup(gv_siegeGiantsMercs))
// L4195
PathSetDestinationPoint(PathLastCreated(), UnitGroupCenterOfGroup(gv_siegeGiantsMercs))
// L1752
PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex])
// L2558
PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex])
// L2579
PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex])
# mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod
// L299
PathSetDestinationPoint(libMHPP_gv_payloadPath.lv_pathDisplay, libMHPP_gv_payloadPath.lv_path[libMHPP_gv_payloadPath.lv_finalWaypointIndex])
// L341
PathSetDestinationPoint(libMHPP_gv_payloadPath.lv_pathDisplay, libMHPP_gv_payloadPath.lv_path[libMHPP_gv_payloadPath.lv_lastCheckpointReachedIndex])
# mods/heroesdata.stormmod
// L15852
PathSetDestinationPoint(lv_localPathDisplay, lv_positionOfBeacon)
// L21248
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint)
// L21255
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint)
// L21265
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint)
// L21272
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint)
// L21371
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint)
// L21378
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint)
// L21388
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint)
// L21395
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint)
# mods/heroesdata.stormmod
// L8014
PathSetDestinationPoint(PathLastCreated(), lp_location)
# mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod
// L1151
PathSetDestinationPoint(libMLBD_gv_mMBOELaningPathLine, libMLBD_gv_mMBOELaningRallyPoint)
# mods/heroesmapmods/battlegroundmapmods/hanamura.stormmod
// L432
PathSetDestinationPoint(libNPLD_gv_neutralPayload.lv_pathDisplay_Order, libNPLD_gv_neutralPayload.lv_pathWaypoints[libGame_gv_teamOrderIndex_C][libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamOrderIndex_C]][libNPLD_gv_neutralPayload.lv_pathWaypoints_DestinationIndex[libGame_gv_teamOrderIndex_C][libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamOrderIndex_C]]])
// L438
PathSetDestinationPoint(libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos, libNPLD_gv_neutralPayload.lv_pathWaypoints[libGame_gv_teamChaosIndex_C][libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamChaosIndex_C]][libNPLD_gv_neutralPayload.lv_pathWaypoints_DestinationIndex[libGame_gv_teamChaosIndex_C][libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamChaosIndex_C]]])
// L680
PathSetDestinationPoint(libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamOrderIndex_C], libNPLD_gv_neutralPayload.lv_pathWaypoints[libGame_gv_teamOrderIndex_C][libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamOrderIndex_C]][libNPLD_gv_neutralPayload.lv_pathWaypoints_DestinationIndex[libGame_gv_teamOrderIndex_C][libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamOrderIndex_C]]])
// L684
PathSetDestinationPoint(libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamChaosIndex_C], libNPLD_gv_neutralPayload.lv_pathWaypoints[libGame_gv_teamChaosIndex_C][libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamChaosIndex_C]][libNPLD_gv_neutralPayload.lv_pathWaypoints_DestinationIndex[libGame_gv_teamChaosIndex_C][libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamChaosIndex_C]]])
# mods/heromods/thefirelords.stormmod
// L208
PathSetDestinationPoint(libHMaj_gv_lavaWaveMiniMapPathId[lp_player][lp_lavaWaveIndex], libGame_gv_laneData[lp_currentLane].lv_waypoints[lv_currentWaypoint])
# mods/novastoryassets.sc2mod
// L778
PathSetDestinationPoint(PathLastCreated(), PointFromName((lp_pathDisplayID + "-" + IntToString((lp_startingIndex + lv_waypointCount)))))
// L1933
PathSetDestinationPoint(PathLastCreated(), UnitGetPosition(gv_xanthosTargetGorgon))
// L3510
PathSetDestinationPoint(PathLastCreated(), UnitGetPosition(gv_xanthosTargetGorgon))
// L778
PathSetDestinationPoint(PathLastCreated(), PointFromName((lp_pathDisplayID + "-" + IntToString((lp_startingIndex + lv_waypointCount)))))
// L1933
PathSetDestinationPoint(PathLastCreated(), UnitGetPosition(gv_xanthosTargetGorgon))
// L3510
PathSetDestinationPoint(PathLastCreated(), UnitGetPosition(gv_xanthosTargetGorgon))