# Set Path Display Color

Grammar — Set pathDisplay Color to color For location
FlagsNative | Action

# Arguments

  • int [ path ] — Path Display
  • int [ preset::PathDisplayLocation ] — Location
  • color — Color

Returns — void

native void PathSetColor(
	int inPathId,
	int inLocation,
	color inColor,
);

Category: UI / Path Display

# Examples

# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod

LibPEB1.galaxy

// L3870
PathSetColor(libPEB1_gv_creepCamps[lp_campIndex].lv_path, c_pathLocationAll, Color(0.00, 50.20, 100.00))

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L21247
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(0.00, 0.00, 100.00))
// L21254
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(100.00, 0.00, 0.00))
// L21264
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(0.00, 0.00, 100.00))
// L21271
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(100.00, 0.00, 0.00))
// L21370
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(0.00, 0.00, 100.00))
// L21377
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(100.00, 0.00, 0.00))
// L21387
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplay[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(0.00, 0.00, 100.00))
// L21394
PathSetColor(libGDHL_gv_heroSgtHammerPathDisplayEnemies[lv_sgtHammerCasterPlayer], c_pathLocationMinimap, Color(100.00, 0.00, 0.00))

# mods/heroesdata.stormmod

UILib.galaxy

// L8021
PathSetColor(PathLastCreated(), c_pathLocationAll, Color(80.39, 98.04, 68.63))

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L779
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(12.55, 12.55, 100.00))
// L1934
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(100.00, 0.00, 0.00))
// L3511
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(100.00, 0.00, 0.00))
// L779
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(12.55, 12.55, 100.00))
// L1934
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(100.00, 0.00, 0.00))
// L3511
PathSetColor(PathLastCreated(), c_pathLocationMinimap, Color(100.00, 0.00, 0.00))