# Points Connected By Pathing

Grammarp1|Point and p2|Point are connected by pathing
FlagsNative | Function

Returns true if the specified points are connected by ground pathing.

# Arguments

  • point — Point 1
  • point — Point 2

Returns — bool

native bool PointPathingIsConnected(point p1, point p2);

Category: Point / Pathing

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L1466
PointPathingIsConnected(UnitGetPosition(auto16E4DC23_var), UnitGetPosition(lv_currentUnit))
// L6413
PointPathingIsConnected(UnitGetPosition(autoB0D64614_var), UnitGetPosition(lv_currentUnit))
// L6474
PointPathingIsConnected(UnitGetPosition(autoFA044A09_var), UnitGetPosition(lv_currentUnit))
// L1466
PointPathingIsConnected(UnitGetPosition(auto16E4DC23_var), UnitGetPosition(lv_currentUnit))
// L6413
PointPathingIsConnected(UnitGetPosition(autoB0D64614_var), UnitGetPosition(lv_currentUnit))
// L6474
PointPathingIsConnected(UnitGetPosition(autoFA044A09_var), UnitGetPosition(lv_currentUnit))

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L6781
PointPathingIsConnected(lv_pathingCheckPoint, lv_pointIter)
// L6877
PointPathingIsConnected(lv_pathingCheckPoint, lv_pointIter)
// L11052
PointPathingIsConnected(lv_dropLocation, lv_dropPodLocation)
// L11126
PointPathingIsConnected(lv_dropLocation, lv_dropPodLocation)
// L11825
PointPathingIsConnected(lv_testDropPoint, lp_initialDropPoint)

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L3135
PointPathingIsConnected(lv_targetLocation, PlayerStartLocation(1))
// L4234
PointPathingIsConnected(lv_riftLocation, PlayerStartLocation(1))
// L4282
PointPathingIsConnected(lv_spawnLocation, PlayerStartLocation(1))
// L6949
PointPathingIsConnected(lv_spawnPoint, PlayerStartLocation(1))
// L7028
PointPathingIsConnected(lv_spawnLocation, PlayerStartLocation(1))
// L7167
PointPathingIsConnected(lv_spawnPoint, PlayerStartLocation(1))
// L10773
PointPathingIsConnected(UnitGetPosition(lv_spawningStructure), UnitGetPosition(lv_targetStructure))
// L10863
PointPathingIsConnected(lv_spawnPoint, PlayerStartLocation(1))
// L10933
PointPathingIsConnected(lv_spawnPoint, PlayerStartLocation(1))
// L11037
PointPathingIsConnected(lv_dropLocation, PlayerStartLocation(lv_indexPlayer))