# Set Path Display Step Model

Grammar — Set pathDisplay Step Model to model For location
FlagsNative | Action

# Arguments

  • int<path> — Path Display
  • int<preset::PathDisplayLocation> — Location
  • string<filepath> — Model

Returns — void

native void PathSetStepModel(
	int inPathId,
	int inLocation,
	string inModel,
);

Category: UI / Path Display

# Examples

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

    }
    gv_intro_LanePathLine[lp_lane] = PathLastCreated();
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    SoundPlayForPlayer(SoundLink("UI_Tutorial01_Suggesting_Path", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
    PathSetDestinationPoint(PathLastCreated(), PointFromId(393064320));
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), lv_watchtowerPoint);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), PointFromId(180));
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), UnitGroupCenterOfGroup(gv_siegeGiantsMercs));
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex]);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex]);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    }
    gv_intro_LanePathLine[lp_lane] = PathLastCreated();
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    SoundPlayForPlayer(SoundLink("UI_Tutorial01_Suggesting_Path", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
    PathSetDestinationPoint(PathLastCreated(), PointFromId(393064320));
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), lv_watchtowerPoint);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), PointFromId(180));
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), UnitGroupCenterOfGroup(gv_siegeGiantsMercs));
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex]);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetDestinationPoint(PathLastCreated(), libMapM_gv_mMRavenTributeSpawnPoints[gv_mapMechanicIndex]);
    PathSetVisible(PathLastCreated(), c_pathLocationAll, true);
    PathSetStepModel(PathLastCreated(), c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\ui_tutorial_guidearrow.dds");
    PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 2.578);

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

    PathSetVisible(libNPLD_gv_neutralPayload.lv_pathDisplay_Order, c_pathLocationMinimap, true);
    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]]]);
    PathSetStepModel(libNPLD_gv_neutralPayload.lv_pathDisplay_Order, c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    PathSetLineTexture(libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos, c_pathLocationMinimap, "Assets\\Textures\\waypointline.dds");
    PathSetLineWidth(libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos, c_pathLocationWorld, lv_pathWidth);

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

    PathSetVisible(libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos, c_pathLocationMinimap, true);
    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]]]);
    PathSetStepModel(libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos, c_pathLocationWorld, "Assets\\Units\\Test\\InvisibleUnit\\InvisibleUnit.m3");
    if ((libNPLD_gv_neutralPayload.lv_teamWithProgress != 0)) {
        autoEA8B284B_ae = (libNPLD_gv_neutralPayload.lv_pathWaypoints_DestinationIndex[lv_team_withProgress][lv_pathIndex_teamWithProgress] - 1);