# Set Path Display Step Model
Grammar — Set pathDisplay Step Model to model For location
Flags —Native
|Action
# Arguments
int
<path> — Path Displayint
<preset::PathDisplayLocation> — Locationstring
<filepath> — Model
Returns — void
native void PathSetStepModel(
int inPathId,
int inLocation,
string inModel,
);
# Related
Category: UI / Path Display
- Create Path Display For Unit —
int
<path> — PathCreateForUnit - Create Path Display For Unit Type —
int
<path> — PathCreateForUnitType - Last Path Display Created —
int
<path> — PathLastCreated - Destroy Path Display —
void
— PathDestroy - Destroy Path Displays For Players —
void
— PathDestroyAll - Set Path Display Destination Point —
void
— PathSetDestinationPoint - Get Path Display Destination Point —
point
— PathGetDestinationPoint - Set Path Display Destination Unit —
void
— PathSetDestinationUnit - Get Path Display Destination Unit —
unit
— PathGetDestinationUnit - Set Path Display Source Point —
void
— PathSetSourcePoint - Get Path Display Source Point —
point
— PathGetSourcePoint - Set Path Display Source Unit —
void
— PathSetSourceUnit - Get Path Display Source Unit —
unit
— PathGetSourceUnit - Get Path Display Unit —
unit
— PathGetUnit - Get Path Display Unit Type —
string
<gamelink::Unit> — PathGetUnitType - Set Path Display Line Texture —
void
— PathSetLineTexture - Get Path Display Line Texture —
string
<filepath> — PathGetLineTexture - Set Path Display Line Tile Length —
void
— PathSetLineTileLength - Get Path Display Line Tile Length —
fixed
— PathGetLineTileLength - Set Path Display Line Width —
void
— PathSetLineWidth - Get Path Display Line Width —
fixed
— PathGetLineWidth - Set Path Display Step Midpoint —
void
— PathSetStepMidpoint - Get Path Display Step Midpoint —
fixed
— PathGetStepMidpoint - Set Path Display Step Model —
void
— PathSetStepModel - Get Path Display Step Model —
string
<filepath> — PathGetStepModel - Set Path Display Step Model Scale —
void
— PathSetStepModelScale - Get Path Display Step Model Scale —
fixed
— PathGetStepModelScale - Set Path Display Color —
void
— PathSetColor - Get Path Display Color —
color
— PathGetColor - Set Path Display Visibility —
void
— PathSetVisible - Get Path Display Visibility —
bool
<preset::VisibleHiddenOption> — PathGetVisible - Set Path Display Abil Class Filter —
void
— PathSetAbilClassFilter - Clear Path Display Waypoints —
void
— PathClearWayPoints - Add Path Display Waypoint —
void
— PathAddWayPoint - Set Path Display Minimum Linear Distance —
void
— PathSetMinimumLinearDistance - Get Path Display Minimum Linear Distance —
fixed
— PathGetMinimumLinearDistance - Set Path Display Minimum Travel Distance —
void
— PathSetMinimumTravelDistance - Get Path Display Minimum Travel Distance —
fixed
— PathGetMinimumTravelDistance - Set Path Display Minimum Turn Count —
void
— PathSetMinimumStepCount - Get Path Display Minimum Turn Count —
int
— PathGetMinimumStepCount
# Examples
mods/heroes.stormmod — base.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.stormmod — base.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.stormmod — base.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.stormmod — base.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.stormmod — base.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.stormmod — base.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.stormmod — base.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.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.stormmod/base.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.stormmod/base.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.stormmod/base.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.stormmod/base.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.stormmod/base.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.stormmod/base.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/heroesmapmods/battlegroundmapmods/hanamura.stormmod — base.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.stormmod — base.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);