# Set Path Display Visibility
Grammar — Set pathDisplay Visibility for location to visibility
Flags —Native
|Action
# Arguments
int
[ path ] — Path Displayint
[ preset::PathDisplayLocation ] — Locationbool
[ preset::VisibleHiddenOption ] — Visibility
Returns — void
native void PathSetVisible(
int inPathId,
int inLocation,
bool inVisible,
);
# 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/heroes.stormmod
// L388
PathSetVisible(PathLastCreated(), c_pathLocationWorld, true)
// L389
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, false)
// L2352
PathSetVisible(PathLastCreated(), c_pathLocationWorld, true)
// L2353
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, false)
// L3420
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L3442
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L3445
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L3788
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L3801
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L3804
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L1753
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L1766
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L1769
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L2559
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L2572
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L2576
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L2584
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L388
PathSetVisible(PathLastCreated(), c_pathLocationWorld, true)
// L389
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, false)
// L2352
PathSetVisible(PathLastCreated(), c_pathLocationWorld, true)
// L2353
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, false)
// L3420
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L3442
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L3445
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L3788
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L3801
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L3804
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L1753
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L1766
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L1769
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L2559
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L2572
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L2576
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
// L2584
PathSetVisible(PathLastCreated(), c_pathLocationAll, false)
# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod
// L3869
PathSetVisible(libPEB1_gv_creepCamps[lp_campIndex].lv_path, c_pathLocationAll, true)
# mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod
// L297
PathSetVisible(libMHPP_gv_payloadPath.lv_pathDisplay, c_pathLocationWorld, false)
// L337
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
# mods/heroesdata.stormmod
// L13035
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L13049
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L13065
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L14128
PathSetVisible(PathLastCreated(), c_pathLocationWorld, true)
// L14136
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L14140
PathSetVisible(PathLastCreated(), c_pathLocationWorld, true)
// L14148
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L14152
PathSetVisible(PathLastCreated(), c_pathLocationWorld, true)
// L14160
PathSetVisible(PathLastCreated(), c_pathLocationAll, true)
// L14221
PathSetVisible(libGDHL_gv_lostVikingsPlayer[lv_lVPlayer].lv_olafDeathRallyDisplay, c_pathLocationWorld, false)
# mods/heroesdata.stormmod
// L2110
PathSetVisible(libMapM_gv_jungleMiniMapPath[lv_mercLanerGroup], c_pathLocationWorld, false)
// L2129
PathSetVisible(libMapM_gv_jungleMiniMapPath[lv_mercLanerGroup], c_pathLocationWorld, false)
# mods/heroesdata.stormmod
// L1223
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L8015
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
# mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod
// L1131
PathSetVisible(libMLBD_gv_mMBOELaningPathLine, c_pathLocationMinimap, true)
// L1132
PathSetVisible(libMLBD_gv_mMBOELaningPathLine, c_pathLocationWorld, false)
// L1216
PathSetVisible(libMLBD_gv_mMBOELaningPathLine, c_pathLocationWorld, false)
// L1231
PathSetVisible(libMLBD_gv_mMBOELaningPathLine, c_pathLocationWorld, false)
# mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmod
// L2377
PathSetVisible(libSCHO_gv_mMHO_ArchangelLanerPathLine, c_pathLocationWorld, false)
// L2387
PathSetVisible(libSCHO_gv_mMHO_ArchangelLanerPathLine, c_pathLocationWorld, false)
// L3094
PathSetVisible(libSCHO_gv_mMHO_ZergPaths[lp_team], c_pathLocationMinimap, true)
// L3095
PathSetVisible(libSCHO_gv_mMHO_ZergPaths[lp_team], c_pathLocationWorld, false)
// L3114
PathSetVisible(libSCHO_gv_mMHO_ZergPaths[lp_team], c_pathLocationMinimap, true)
// L3115
PathSetVisible(libSCHO_gv_mMHO_ZergPaths[lp_team], c_pathLocationWorld, false)
# mods/heroesmapmods/battlegroundmapmods/hanamura.stormmod
// L430
PathSetVisible(libNPLD_gv_neutralPayload.lv_pathDisplay_Order, c_pathLocationWorld, false)
// L431
PathSetVisible(libNPLD_gv_neutralPayload.lv_pathDisplay_Order, c_pathLocationMinimap, true)
// L436
PathSetVisible(libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos, c_pathLocationWorld, false)
// L437
PathSetVisible(libNPLD_gv_neutralPayload.lv_pathDisplay_Chaos, c_pathLocationMinimap, true)
// L678
PathSetVisible(libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamOrderIndex_C], c_pathLocationWorld, false)
// L679
PathSetVisible(libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamOrderIndex_C], c_pathLocationMinimap, true)
// L682
PathSetVisible(libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamChaosIndex_C], c_pathLocationWorld, false)
// L683
PathSetVisible(libNPLD_gv_neutralPayload.lv_warningPathDisplay[libGame_gv_teamChaosIndex_C], c_pathLocationMinimap, true)
# mods/heromods/thefirelords.stormmod
// L203
PathSetVisible(libHMaj_gv_lavaWaveMiniMapPathId[lp_player][lp_lavaWaveIndex], c_pathLocationWorld, false)
# mods/novastoryassets.sc2mod
// L776
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true)
// L777
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L1931
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true)
// L1932
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L3508
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true)
// L3509
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L776
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true)
// L777
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L1931
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true)
// L1932
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)
// L3508
PathSetVisible(PathLastCreated(), c_pathLocationMinimap, true)
// L3509
PathSetVisible(PathLastCreated(), c_pathLocationWorld, false)