# Set Path Display Destination Point

Grammar — Set pathDisplay destination Point
FlagsNative | Action

# Arguments

  • int [ path ] — Path Display
  • point — Destination

Returns — void

native void PathSetDestinationPoint(
	int inPathId,
	point inDestination,
);

Category: UI / Path Display

# Examples

# mods/heroes.stormmod

MapScript.galaxy

// 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

LibMHPP.galaxy

// 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

GameDataHelperLib.galaxy

// 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

UILib.galaxy

// L8014
PathSetDestinationPoint(PathLastCreated(), lp_location)

# mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod

LibMLBD.galaxy

// L1151
PathSetDestinationPoint(libMLBD_gv_mMBOELaningPathLine, libMLBD_gv_mMBOELaningRallyPoint)

# mods/heroesmapmods/battlegroundmapmods/hanamura.stormmod

LibNPLD.galaxy

// 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

LibHMaj.galaxy

// L208
PathSetDestinationPoint(libHMaj_gv_lavaWaveMiniMapPathId[lp_player][lp_lavaWaveIndex], libGame_gv_laneData[lp_currentLane].lv_waypoints[lv_currentWaypoint])

# mods/novastoryassets.sc2mod

MapScript.galaxy

// 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))