# 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
- [F] —
int
[ path ] — Create Path Display For Unit — ( PathCreateForUnit ) - [F] —
int
[ path ] — Create Path Display For Unit Type — ( PathCreateForUnitType ) - [F] —
int
[ path ] — Last Path Display Created — ( PathLastCreated ) - [F] —
void
— Destroy Path Display — ( PathDestroy ) - [F] —
void
— Destroy Path Displays For Players — ( PathDestroyAll ) - [F] —
void
— Set Path Display Destination Point — ( PathSetDestinationPoint ) - [F] —
point
— Get Path Display Destination Point — ( PathGetDestinationPoint ) - [F] —
void
— Set Path Display Destination Unit — ( PathSetDestinationUnit ) - [F] —
unit
— Get Path Display Destination Unit — ( PathGetDestinationUnit ) - [F] —
void
— Set Path Display Source Point — ( PathSetSourcePoint ) - [F] —
point
— Get Path Display Source Point — ( PathGetSourcePoint ) - [F] —
void
— Set Path Display Source Unit — ( PathSetSourceUnit ) - [F] —
unit
— Get Path Display Source Unit — ( PathGetSourceUnit ) - [F] —
unit
— Get Path Display Unit — ( PathGetUnit ) - [F] —
string
[ gamelink::Unit ] — Get Path Display Unit Type — ( PathGetUnitType ) - [F] —
void
— Set Path Display Line Texture — ( PathSetLineTexture ) - [F] —
string
[ filepath ] — Get Path Display Line Texture — ( PathGetLineTexture ) - [F] —
void
— Set Path Display Line Tile Length — ( PathSetLineTileLength ) - [F] —
fixed
— Get Path Display Line Tile Length — ( PathGetLineTileLength ) - [F] —
void
— Set Path Display Line Width — ( PathSetLineWidth ) - [F] —
fixed
— Get Path Display Line Width — ( PathGetLineWidth ) - [F] —
void
— Set Path Display Step Midpoint — ( PathSetStepMidpoint ) - [F] —
fixed
— Get Path Display Step Midpoint — ( PathGetStepMidpoint ) - [F] —
void
— Set Path Display Step Model — ( PathSetStepModel ) - [F] —
string
[ filepath ] — Get Path Display Step Model — ( PathGetStepModel ) - [F] —
void
— Set Path Display Step Model Scale — ( PathSetStepModelScale ) - [F] —
fixed
— Get Path Display Step Model Scale — ( PathGetStepModelScale ) - [F] —
void
— Set Path Display Color — ( PathSetColor ) - [F] —
color
— Get Path Display Color — ( PathGetColor ) - [F] —
void
— Set Path Display Visibility — ( PathSetVisible ) - [F] —
bool
[ preset::VisibleHiddenOption ] — Get Path Display Visibility — ( PathGetVisible ) - [F] —
void
— Set Path Display Abil Class Filter — ( PathSetAbilClassFilter ) - [F] —
void
— Clear Path Display Waypoints — ( PathClearWayPoints ) - [F] —
void
— Add Path Display Waypoint — ( PathAddWayPoint ) - [F] —
void
— Set Path Display Minimum Linear Distance — ( PathSetMinimumLinearDistance ) - [F] —
fixed
— Get Path Display Minimum Linear Distance — ( PathGetMinimumLinearDistance ) - [F] —
void
— Set Path Display Minimum Travel Distance — ( PathSetMinimumTravelDistance ) - [F] —
fixed
— Get Path Display Minimum Travel Distance — ( PathGetMinimumTravelDistance ) - [F] —
void
— Set Path Display Minimum Turn Count — ( PathSetMinimumStepCount ) - [F] —
int
— Get Path Display Minimum Turn Count — ( PathGetMinimumStepCount )
# Examples
# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod
// L3870
PathSetColor(libPEB1_gv_creepCamps[lp_campIndex].lv_path, c_pathLocationAll, Color(0.00, 50.20, 100.00))
# mods/heroesdata.stormmod
// 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
// L8021
PathSetColor(PathLastCreated(), c_pathLocationAll, Color(80.39, 98.04, 68.63))
# mods/novastoryassets.sc2mod
// 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))