# Pathing Type At Point

Grammar — Pathing type at p1
FlagsNative | Function

Returns the type of pathing at the specific point. Ground pathing allows all units, Building pathing means a building has blocked pathing, Cliff pathing means the terrain cliffs are blocking pathing, and Unpathable means that units can never move through the point.

# Arguments

  • point — Point

Returns — int [ preset::PathingType ]

native int PathingType(point inPos);

Category: Point / Pathing

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L835
PathingType(lv_testPoint)
// L849
PathingType(lv_testPoint)
// L1097
PathingType(lv_testPoint)
// L1111
PathingType(lv_testPoint)
// L1928
PathingType(UnitGetPosition(gv_titanicWarpPrism))
// L835
PathingType(lv_testPoint)
// L849
PathingType(lv_testPoint)
// L1097
PathingType(lv_testPoint)
// L1111
PathingType(lv_testPoint)
// L1928
PathingType(UnitGetPosition(gv_titanicWarpPrism))

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L936
PathingType(PointWithOffsetPolar(lp_startingPoint, lv_i, lp_angle))

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

LibPEB1.galaxy

// L2864
PathingType(lv_spawnPoints[auto4CB41B2D_var])
// L2885
PathingType(lv_testPoint)

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L9360
PathingType(lv_newLocation)

# mods/heroesdata.stormmod

GameLib.galaxy

// L14693
PathingType(UnitGetPosition(lv_timeStopEndingUnit))
// L14693
PathingType(UnitGetPosition(lv_timeStopEndingUnit))
// L14693
PathingType(UnitGetPosition(lv_timeStopEndingUnit))

# mods/heroesdata.stormmod

StartingExperienceLib.galaxy

// L1948
PathingType(lp_locationTarget)
// L1948
PathingType(lp_locationTarget)

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L3811
PathingType(UnitGetPosition(UnitGroupLoopCurrent()))
// L3811
PathingType(UnitGetPosition(UnitGroupLoopCurrent()))

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L11085
PathingType(lv_dropLocation)
// L11159
PathingType(lv_dropLocation)
// L11858
PathingType(lv_testDropPoint)
// L27608
PathingType(UnitGetPosition(libCOMI_gv_cM_ZeratulProphecyArtifact))

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L523
PathingType(UnitGetPosition(lp_killedUnit))
// L1017
PathingType(lv_teleportPoint)
// L3135
PathingType(lv_targetLocation)
// L4282
PathingType(lv_spawnLocation)
// L4637
PathingType(lp_spawnPoint)
// L6949
PathingType(lv_spawnPoint)
// L7167
PathingType(lv_spawnPoint)
// L7172
PathingType(lv_mineSpawnPoint)
// L7181
PathingType(lv_mineSpawnPoint)
// L10863
PathingType(lv_spawnPoint)

# mods/warcoop/legends/gromhellscream.sc2mod

LibLGrm.galaxy

// L47
PathingType(lv_currentpoint)