# Set Path Display Color
Grammar — Set pathDisplay Color to color For location
Flags —Native
|Action
# Arguments
int
<path> — Path Displayint
<preset::PathDisplayLocation> — Locationcolor
— Color
Returns — void
native void PathSetColor(
int inPathId,
int inLocation,
color inColor,
);
# 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/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:3870
libPEB1_gv_creepCamps[lp_campIndex].lv_path = PathLastCreated();
PathSetVisible(libPEB1_gv_creepCamps[lp_campIndex].lv_path, c_pathLocationAll, true);
PathSetColor(libPEB1_gv_creepCamps[lp_campIndex].lv_path, c_pathLocationAll, Color(0.00, 50.20, 100.00));
PathSetLineTexture(libPEB1_gv_creepCamps[lp_campIndex].lv_path, c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libNtve_gf_SendActorMessageToUnit(lv_mercMedivac, "Signal Arrive");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21247
PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer] = PathLastCreated();
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(0.00, 0.00, 100.00));
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint);
PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21254
PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer] = PathLastCreated();
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(100.00, 0.00, 0.00));
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint);
PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21264
PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer] = PathLastCreated();
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(0.00, 0.00, 100.00));
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint);
PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21271
PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer] = PathLastCreated();
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(100.00, 0.00, 0.00));
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint);
PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21370
PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer] = PathLastCreated();
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(0.00, 0.00, 100.00));
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint);
PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21377
PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer] = PathLastCreated();
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(100.00, 0.00, 0.00));
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint);
PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21387
PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer] = PathLastCreated();
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(0.00, 0.00, 100.00));
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint);
PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:21394
PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");
libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer] = PathLastCreated();
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(100.00, 0.00, 0.00));
PathSetDestinationPoint(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], lv_abilityTargetPoint);
PathSetVisible(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationWorld, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:8021
PathSetMinimumLinearDistance(PathLastCreated(), 3.0);
PathSetLineTexture(PathLastCreated(), c_pathLocationWorld, "Assets\\Textures\\storm_waypointline_game.dds");
PathSetColor(PathLastCreated(), c_pathLocationAll, Color(80.39, 98.04, 68.63));
PathSetLineTileLength(PathLastCreated(), c_pathLocationWorld, 0.8);
libGame_gv_players[lp_player].lv_onMyWayPathDisplay = PathLastCreated();
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:793
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
PathSetDestinationPoint(PathLastCreated(), PointFromName((lp_pathDisplayID + "-" + IntToString((lp_startingIndex + lv_waypointCount)))));
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(12.55, 12.55, 100.00));
if ((lv_waypointCount > 1)) {
auto83F9FE22_ae = (lp_startingIndex + (lv_waypointCount - 1));
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:2030
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
PathSetDestinationPoint(PathLastCreated(), UnitGetPosition(gv_xanthosTargetGorgon));
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(100.00, 0.00, 0.00));
libNCMI_gf_CreateMissionAutosavePoint(StringToText(""));
TriggerExecute(gt_XanthosAttackQ, true, false);
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:3641
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
PathSetDestinationPoint(PathLastCreated(), UnitGetPosition(gv_xanthosTargetGorgon));
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(100.00, 0.00, 0.00));
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:793
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
PathSetDestinationPoint(PathLastCreated(), PointFromName((lp_pathDisplayID + "-" + IntToString((lp_startingIndex + lv_waypointCount)))));
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(12.55, 12.55, 100.00));
if ((lv_waypointCount > 1)) {
auto83F9FE22_ae = (lp_startingIndex + (lv_waypointCount - 1));
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:2030
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
PathSetDestinationPoint(PathLastCreated(), UnitGetPosition(gv_xanthosTargetGorgon));
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(100.00, 0.00, 0.00));
libNCMI_gf_CreateMissionAutosavePoint(StringToText(""));
TriggerExecute(gt_XanthosAttackQ, true, false);
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:3641
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false);
PathSetDestinationPoint(PathLastCreated(), UnitGetPosition(gv_xanthosTargetGorgon));
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(100.00, 0.00, 0.00));
}