# Create Path Display For Unit

Grammar — Create Path Display For unit For players
FlagsNative | Action

# Arguments

  • playergroup — Players
  • unit — Unit

Returns — int<path>

native int PathCreateForUnit(
	playergroup inPlayerGroup,
	unit inUnit,
);

Category: UI / Path Display

# Examples

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:2344

    TriggerQueueExit();
    Wait(3.0, c_timeGame);
    PathCreateForUnit(PlayerGroupAll(), gv_heroPlayer);
    gv_goToLanePathLine = PathLastCreated();
    SoundPlayForPlayer(SoundLink("UI_Tutorial01_Suggesting_Path", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:3418


    TriggerEnable(TriggerGetCurrent(), false);
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), lv_watchtowerPoint);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:3786


    TriggerEnable(TriggerGetCurrent(), false);
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), PointFromId(180));
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:4173


    TriggerEnable(TriggerGetCurrent(), false);
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), UnitGroupCenterOfGroup(gv_siegeGiantsMercs));
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:1751

    }

    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex]);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:2557

    }

    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex]);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:2344

    TriggerQueueExit();
    Wait(3.0, c_timeGame);
    PathCreateForUnit(PlayerGroupAll(), gv_heroPlayer);
    gv_goToLanePathLine = PathLastCreated();
    SoundPlayForPlayer(SoundLink("UI_Tutorial01_Suggesting_Path", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:3418


    TriggerEnable(TriggerGetCurrent(), false);
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), lv_watchtowerPoint);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:3786


    TriggerEnable(TriggerGetCurrent(), false);
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), PointFromId(180));
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:4173


    TriggerEnable(TriggerGetCurrent(), false);
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), UnitGroupCenterOfGroup(gv_siegeGiantsMercs));
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmapMapScript.galaxy:1751

    }

    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex]);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmapMapScript.galaxy:2557

    }

    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[gv_pLAYER_01_USER], gv_heroPlayer);
    PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex]);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:3867

        lv_mercMedivac = UnitLastCreated();
        UnitSetState(lv_mercMedivac, c_unitStateInvulnerable, true);
        PathCreateForUnit(PlayerGroupAll(), lv_mercMedivac);
        libPEB1_gv_creepCamps[lp_campIndex].lv_path = PathLastCreated();
        PathSetVisible(libPEB1_gv_creepCamps[lp_campIndex].lv_path, c_pathLocationAll, true);

mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmodbase.stormdata/LibMHPP.galaxy:293

    libMHPP_gv_payloadPath.lv_currentPathIndex = 1;
    libMHPP_gv_payloadPath.lv_pathIndexMax = 1;
    PathCreateForUnit(PlayerGroupAll(), lp_payloadUnit);
    PathSetOwnerPlayerId(PathLastCreated(), libStEx_gv_pLAYER_11_ORDER);
    PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmodbase.stormdata/LibMHPP.galaxy:334

    libMHPP_gv_payloadPath.lv_currentPathIndex = 1;
    libMHPP_gv_payloadPath.lv_pathIndexMax = 1;
    PathCreateForUnit(PlayerGroupAll(), lp_payloadUnit);
    PathSetOwnerPlayerId(PathLastCreated(), libStEx_gv_pLAYER_11_ORDER);
    PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:13034

    AIAddPlayerUnit(UnitLastCreated());
    UnitControlGroupAddUnit(lv_lVPlayer, 1, UnitLastCreated());
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[lv_lVPlayer], UnitLastCreated());
    PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
    PathSetAbilClassFilter(PathLastCreated(), c_classIdCAbilEffectInstant, c_abilClassFilterExcluded);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:13048

    AIAddPlayerUnit(UnitLastCreated());
    UnitControlGroupAddUnit(lv_lVPlayer, 2, UnitLastCreated());
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[lv_lVPlayer], UnitLastCreated());
    PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
    PathSetAbilClassFilter(PathLastCreated(), c_classIdCAbilEffectInstant, c_abilClassFilterExcluded);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:13064

    UnitControlGroupAddUnits(lv_lVPlayer, 4, libGame_gv_players[lv_lVPlayer].lv_heroUnitGroup);
    UnitControlGroupRemoveUnit(lv_lVPlayer, 4, libGame_gv_players[lv_lVPlayer].lv_heroUnit);
    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[lv_lVPlayer], UnitLastCreated());
    PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
    PathSetAbilClassFilter(PathLastCreated(), c_classIdCAbilEffectInstant, c_abilClassFilterExcluded);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:14127

    autoFA0FCA6E_val = UnitGetType(EventUnit());
    if (autoFA0FCA6E_val == "OlafsGravestone") {
        PathCreateForUnit(libCore_gv_playerGroupFromPlayer[lv_lVPlayer], EventUnit());
        PathSetVisible(PathLastCreated(), c_pathLocationWorld, true);
        PathSetLineTexture(PathLastCreated(), c_pathLocationAll, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:14139

    }
    else if (autoFA0FCA6E_val == "EriksGravestone") {
        PathCreateForUnit(libCore_gv_playerGroupFromPlayer[lv_lVPlayer], EventUnit());
        PathSetVisible(PathLastCreated(), c_pathLocationWorld, true);
        PathSetLineTexture(PathLastCreated(), c_pathLocationAll, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:14151

    }
    else if (autoFA0FCA6E_val == "BaleogsGravestone") {
        PathCreateForUnit(libCore_gv_playerGroupFromPlayer[lv_lVPlayer], EventUnit());
        PathSetVisible(PathLastCreated(), c_pathLocationWorld, true);
        PathSetLineTexture(PathLastCreated(), c_pathLocationAll, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:15850

    libCore_gf_CreateMinimapPingStorm(libGame_gv_teams[lv_medicPlayerTeam].lv_teamPlayerGroupNoNPCPlayers, "MedivacAlert", lv_positionOfMedivac, Color(0.00, 0.00, 100.00), 2.0);
    libCore_gf_CreateMinimapPingStorm(libGame_gv_teams[lv_medicPlayerTeam].lv_teamPlayerGroupNoNPCPlayers, "StormObjective", lv_positionOfBeacon, ColorWithAlpha(0,0,0,0), 8.0);
    PathCreateForUnit(libGame_gv_teams[lv_medicPlayerTeam].lv_teamPlayerGroupNoNPCPlayers, lv_dropship);
    lv_localPathDisplay = PathLastCreated();
    PathSetDestinationPoint(lv_localPathDisplay, lv_positionOfBeacon);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21244

    if ((UnitGetType(lv_sgtHammerCasterUnit) == "SgtHammerBluntForceGunInvisibleOrbitalDummy")) {
        if ((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroupNoNPCPlayers, lv_sgtHammerCasterPlayer) == true)) {
            PathCreateForUnit(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), lv_sgtHammerCasterUnit);
            PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
            libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer] = PathLastCreated();

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21251

            PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
            if ((PlayerGroupCount(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroupNoNPCPlayers) > 0)) {
                PathCreateForUnit(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lv_sgtHammerCasterUnit);
                PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
                libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer] = PathLastCreated();

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21261

        }
        else {
            PathCreateForUnit(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lv_sgtHammerCasterUnit);
            PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
            libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer] = PathLastCreated();

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:2108

        else if ((libMapM_gv_jungleMiniMapPathCurrentIndex[lv_mercLanerGroup] >= libMapM_gv_jungleMiniMapPathIndexMaximum[lv_mercLanerGroup])) {
            PathDestroy(libMapM_gv_jungleMiniMapPath[lv_mercLanerGroup]);
            PathCreateForUnit(PlayerGroupAll(), lp_mercLeader);
            libMapM_gv_jungleMiniMapPath[lv_mercLanerGroup] = PathLastCreated();
            PathSetVisible(libMapM_gv_jungleMiniMapPath[lv_mercLanerGroup], c_pathLocationWorld, false);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:2126

        libMapM_gv_jungleMiniMapPathIndexMaximum[lv_mercLanerGroup] = 1;
    }
    PathCreateForUnit(PlayerGroupAll(), lp_mercLeader);
    PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
    libMapM_gv_jungleMiniMapPath[lv_mercLanerGroup] = PathLastCreated();

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:1222

    }

    PathCreateForUnit(libCore_gv_playerGroupFromPlayer[lp_player], lp_unit);
    PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
    PathSetAbilClassFilter(PathLastCreated(), c_classIdCAbilEffectInstant, c_abilClassFilterExcluded);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:8004

    PathDestroy(libGame_gv_players[lp_player].lv_onMyWayPathDisplay);
    if (((UnitGetType(libGame_gv_players[lp_player].lv_heroUnit) == "HeroLostVikingsController"))) {
        PathCreateForUnit(lv_pingPlayerGroup, UnitGroupUnit(UnitGroupSelected(lp_player), 1));
    }
    else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:8008

    else {
        if ((libGame_gv_players[lp_player].lv_activeVehicle != null)) {
            PathCreateForUnit(lv_pingPlayerGroup, libGame_gv_players[lp_player].lv_activeVehicle);
        }
        else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:8011

        }
        else {
            PathCreateForUnit(lv_pingPlayerGroup, libGame_gv_players[lp_player].lv_heroUnit);
        }
    }

mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmodbase.stormdata/LibMLBD.galaxy:1127

                UnitCreate(1, "InvisibleBossPathingLine", c_unitCreateIgnorePlacement, UnitGetOwner(libMLBD_gv_mMBOEBossesLaning), UnitGetPosition(libMLBD_gv_mMBOEBossesLaning), UnitGetFacing(libMLBD_gv_mMBOEBossesLaning), null);
                lv_flyPathingLineUnit = UnitLastCreated();
                PathCreateForUnit(PlayerGroupAll(), lv_flyPathingLineUnit);
                libMLBD_gv_mMBOELaningPathLine = PathLastCreated();
                PathSetOwnerPlayerId(PathLastCreated(), libGame_gf_ComputerPlayerInTeam(libMLBD_gv_mMBOEEventWinningTeam));

mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmodbase.stormdata/LibMLBD.galaxy:1213

        else if ((libMLBD_gv_mMBOE_BossLanerPathCurrentIndex >= libMLBD_gv_mMBOE_BossLanerPathIndexMax)) {
            PathDestroy(libMLBD_gv_mMBOELaningPathLine);
            PathCreateForUnit(PlayerGroupAll(), lp_unit);
            libMLBD_gv_mMBOELaningPathLine = PathLastCreated();
            PathSetLineTexture(libMLBD_gv_mMBOELaningPathLine, c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmodbase.stormdata/LibMLBD.galaxy:1228

        libMLBD_gv_mMBOE_BossLanerPathIndexMax = 1;
    }
    PathCreateForUnit(PlayerGroupAll(), lp_unit);
    libMLBD_gv_mMBOELaningPathLine = PathLastCreated();
    PathSetLineTexture(libMLBD_gv_mMBOELaningPathLine, c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmodbase.stormdata/LibSCHO.galaxy:2374

        else if ((libSCHO_gv_mMHO_ArchangelCurrentPathIndex >= libSCHO_gv_mMHO_ArchangelPathIndexMax)) {
            PathDestroy(libSCHO_gv_mMHO_ArchangelLanerPathLine);
            PathCreateForUnit(PlayerGroupAll(), lp_unit);
            libSCHO_gv_mMHO_ArchangelLanerPathLine = PathLastCreated();
            PathSetLineTexture(libSCHO_gv_mMHO_ArchangelLanerPathLine, c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmodbase.stormdata/LibSCHO.galaxy:2384

    }

    PathCreateForUnit(PlayerGroupAll(), lp_unit);
    libSCHO_gv_mMHO_ArchangelLanerPathLine = PathLastCreated();
    PathSetLineTexture(libSCHO_gv_mMHO_ArchangelLanerPathLine, c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");

mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmodbase.stormdata/LibSCHO.galaxy:3091

        else if ((libSCHO_gv_mMHO_ZergCurrentPathIndex[lp_team] >= libSCHO_gv_mMHO_ZergPathIndexMax[lp_team])) {
            PathDestroy(libSCHO_gv_mMHO_ZergPaths[lp_team]);
            PathCreateForUnit(PlayerGroupAll(), libSCHO_gv_mMHO_ZergIconUnit[lp_team].lv_iconUnit);
            PathSetOwnerPlayerId(PathLastCreated(), libGame_gf_ComputerPlayerInTeam(lp_team));
            libSCHO_gv_mMHO_ZergPaths[lp_team] = PathLastCreated();

mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmodbase.stormdata/LibSCHO.galaxy:3111

    lv_currentLane = libAIAI_gf_MinionAIGetLaneForMinion(libSCHO_gv_mMHO_ZergIconUnit[lp_team].lv_iconUnit);
    lv_itWaypoint = libAIAI_gf_MinionAIGetNextWaypointIndexForMinion(libSCHO_gv_mMHO_ZergIconUnit[lp_team].lv_iconUnit);
    PathCreateForUnit(PlayerGroupAll(), libSCHO_gv_mMHO_ZergIconUnit[lp_team].lv_iconUnit);
    PathSetOwnerPlayerId(PathLastCreated(), libGame_gf_ComputerPlayerInTeam(lp_team));
    libSCHO_gv_mMHO_ZergPaths[lp_team] = PathLastCreated();

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibNPLD.galaxy:406

    PathDestroy(libNPLD_gv_neutralPayload.lv_pathDisplay_Order);
    PathDestroy(libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos);
    PathCreateForUnit(PlayerGroupAll(), libNPLD_gv_neutralPayload.lv_unit);
    libNPLD_gv_neutralPayload.lv_pathDisplay_Order = PathLastCreated();
    PathCreateForUnit(PlayerGroupAll(), libNPLD_gv_neutralPayload.lv_unit);

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibNPLD.galaxy:408

    PathCreateForUnit(PlayerGroupAll(), libNPLD_gv_neutralPayload.lv_unit);
    libNPLD_gv_neutralPayload.lv_pathDisplay_Order = PathLastCreated();
    PathCreateForUnit(PlayerGroupAll(), libNPLD_gv_neutralPayload.lv_unit);
    libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos = PathLastCreated();
    PathSetOwnerPlayerId(libNPLD_gv_neutralPayload.lv_pathDisplay_Order, libCore_gv_cOMPUTER_TeamOrder);

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibNPLD.galaxy:671

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Payload_Neutral_Warning", c_unitCreateIgnorePlacement, 0, libNPLD_gv_neutralPayload.lv_pathWaypoints_StartLocation, null);
    libNPLD_gv_neutralPayload.lv_warningUnit = UnitLastCreated();
    PathCreateForUnit(PlayerGroupAll(), libNPLD_gv_neutralPayload.lv_warningUnit);
    libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamOrderIndex_C] = PathLastCreated();
    PathCreateForUnit(PlayerGroupAll(), libNPLD_gv_neutralPayload.lv_warningUnit);

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibNPLD.galaxy:673

    PathCreateForUnit(PlayerGroupAll(), libNPLD_gv_neutralPayload.lv_warningUnit);
    libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamOrderIndex_C] = PathLastCreated();
    PathCreateForUnit(PlayerGroupAll(), libNPLD_gv_neutralPayload.lv_warningUnit);
    libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamChaosIndex_C] = PathLastCreated();
    PathSetOwnerPlayerId(libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamOrderIndex_C], libCore_gv_cOMPUTER_TeamOrder);

mods/heromods/thefirelords.stormmodbase.stormdata/LibHMaj.galaxy:200

    // Implementation
    libHMaj_gf_HeroRagnarosLavaWaveMinimapPathCleanup(lp_player, lp_lavaWaveIndex);
    PathCreateForUnit(PlayerGroupAll(), lp_lavaWaveUnit);
    PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_ui_minimap_lavawave_waypointline.dds");
    libHMaj_gv_lavaWaveMiniMapPathId[lp_player][lp_lavaWaveIndex] = PathLastCreated();

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:788

    }
    PathDestroy(gv_hyperionMinimapPathDisplay);
    PathCreateForUnit(PlayerGroupAll(), lp_pathDisplayUnit);
    gv_hyperionMinimapPathDisplay = PathLastCreated();
    PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:2025


    PathDestroy(gv_xanthosMinimapPathDisplay);
    PathCreateForUnit(PlayerGroupAll(), gv_xanthos);
    gv_xanthosMinimapPathDisplay = PathLastCreated();
    PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:3636

        gv_xanthosTargetGorgon = UnitGroupClosestToPoint(lv_gorgonGroup, UnitGetPosition(gv_xanthos));
        PathDestroy(gv_xanthosMinimapPathDisplay);
        PathCreateForUnit(PlayerGroupAll(), gv_xanthos);
        gv_xanthosMinimapPathDisplay = PathLastCreated();
        PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2mapMapScript.galaxy:788

    }
    PathDestroy(gv_hyperionMinimapPathDisplay);
    PathCreateForUnit(PlayerGroupAll(), lp_pathDisplayUnit);
    gv_hyperionMinimapPathDisplay = PathLastCreated();
    PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2mapMapScript.galaxy:2025


    PathDestroy(gv_xanthosMinimapPathDisplay);
    PathCreateForUnit(PlayerGroupAll(), gv_xanthos);
    gv_xanthosMinimapPathDisplay = PathLastCreated();
    PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2mapMapScript.galaxy:3636

        gv_xanthosTargetGorgon = UnitGroupClosestToPoint(lv_gorgonGroup, UnitGetPosition(gv_xanthos));
        PathDestroy(gv_xanthosMinimapPathDisplay);
        PathCreateForUnit(PlayerGroupAll(), gv_xanthos);
        gv_xanthosMinimapPathDisplay = PathLastCreated();
        PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true);