# 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.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:835

    // Implementation
    lv_testPoint = lp_point;
    if (((PointPathingPassable(lv_testPoint) == false) || (PathingType(lv_testPoint) == c_pathingBuilding) || (RegionContainsPoint(RegionFromId(6), lv_testPoint) == true) || (UnitGroupCount(UnitGroup("SiegeTankSieged", c_playerAny, RegionCircle(lv_testPoint, 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
        return false;
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:849

                lv_testPoint = PointWithOffsetPolar(lp_point, ((lv_radiusIncrement * 1.414) - 0.1), (lv_rotationIncrement*45));
            }
            if (((PointPathingPassable(lv_testPoint) == false) || (PathingType(lv_testPoint) == c_pathingBuilding) || (RegionContainsPoint(RegionFromId(6), lv_testPoint) == true) || (UnitGroupCount(UnitGroup("SiegeTankSieged", c_playerAny, RegionCircle(lv_testPoint, 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
                return false;
            }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:1097

    // Implementation
    lv_testPoint = lp_point;
    if (((CreepIsPresent(lv_testPoint) == false) || (PointPathingPassable(lv_testPoint) == false) || (PathingType(lv_testPoint) == c_pathingBuilding) || (UnitGroupCount(UnitGroup("VoidThrasher", c_playerAny, RegionCircle(lv_testPoint, 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(lv_testPoint, lp_radius), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0))) {
        return false;
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:1111

                lv_testPoint = PointWithOffsetPolar(lp_point, ((lv_radiusIncrement * 1.414) - 0.1), (lv_rotationIncrement*45));
            }
            if (((CreepIsPresent(lv_testPoint) == false) || (PointPathingPassable(lv_testPoint) == false) || (PathingType(lv_testPoint) == c_pathingBuilding) || (UnitGroupCount(UnitGroup("VoidThrasher", c_playerAny, RegionCircle(lv_testPoint, 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(lv_testPoint, lp_radius), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0))) {
                return false;
            }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:1928

                }
                else {
                    if ((PathingType(UnitGetPosition(gv_titanicWarpPrism)) == c_pathingGround)) {
                        UnitIssueOrder(gv_titanicWarpPrism, Order(AbilityCommand("WarpPrismGiantPhasingMode", 0)), c_orderQueueReplace);
                    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:835

    // Implementation
    lv_testPoint = lp_point;
    if (((PointPathingPassable(lv_testPoint) == false) || (PathingType(lv_testPoint) == c_pathingBuilding) || (RegionContainsPoint(RegionFromId(6), lv_testPoint) == true) || (UnitGroupCount(UnitGroup("SiegeTankSieged", c_playerAny, RegionCircle(lv_testPoint, 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
        return false;
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:849

                lv_testPoint = PointWithOffsetPolar(lp_point, ((lv_radiusIncrement * 1.414) - 0.1), (lv_rotationIncrement*45));
            }
            if (((PointPathingPassable(lv_testPoint) == false) || (PathingType(lv_testPoint) == c_pathingBuilding) || (RegionContainsPoint(RegionFromId(6), lv_testPoint) == true) || (UnitGroupCount(UnitGroup("SiegeTankSieged", c_playerAny, RegionCircle(lv_testPoint, 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
                return false;
            }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras01.sc2mapMapScript.galaxy:1097

    // Implementation
    lv_testPoint = lp_point;
    if (((CreepIsPresent(lv_testPoint) == false) || (PointPathingPassable(lv_testPoint) == false) || (PathingType(lv_testPoint) == c_pathingBuilding) || (UnitGroupCount(UnitGroup("VoidThrasher", c_playerAny, RegionCircle(lv_testPoint, 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(lv_testPoint, lp_radius), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0))) {
        return false;
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras01.sc2mapMapScript.galaxy:1111

                lv_testPoint = PointWithOffsetPolar(lp_point, ((lv_radiusIncrement * 1.414) - 0.1), (lv_rotationIncrement*45));
            }
            if (((CreepIsPresent(lv_testPoint) == false) || (PointPathingPassable(lv_testPoint) == false) || (PathingType(lv_testPoint) == c_pathingBuilding) || (UnitGroupCount(UnitGroup("VoidThrasher", c_playerAny, RegionCircle(lv_testPoint, 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(lv_testPoint, lp_radius), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0))) {
                return false;
            }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2mapMapScript.galaxy:1928

                }
                else {
                    if ((PathingType(UnitGetPosition(gv_titanicWarpPrism)) == c_pathingGround)) {
                        UnitIssueOrder(gv_titanicWarpPrism, Order(AbilityCommand("WarpPrismGiantPhasingMode", 0)), c_orderQueueReplace);
                    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:936

    for ( ; ( (auto50F82DCD_ai >= 0 && lv_i <= auto50F82DCD_ae) || (auto50F82DCD_ai < 0 && lv_i >= auto50F82DCD_ae) ) ; lv_i += auto50F82DCD_ai ) {
        if ((lv_pathGood == true)) {
            if ((PathingType(PointWithOffsetPolar(lp_startingPoint, lv_i, lp_angle)) == c_pathingGround)) {
                lv_lastGoodPoint = PointWithOffsetPolar(lp_startingPoint, lv_i, lp_angle);
            }

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:2864

            }
            for (auto03EB99C6_i = 1; auto03EB99C6_i <= auto03EB99C6_n; auto03EB99C6_i += 1) {
                if ((PathingType(lv_spawnPoints[auto4CB41B2D_var]) == c_pathingGround)) {
                    lv_spawnPointFound = true;
                    break;

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:2885

            while (true) {
                lv_testPoint = PointWithOffsetPolar(lv_targetPoints[autoEC9D75B1_var], 1.0, lv_movementAngle);
                if ((PathingType(lv_testPoint) == c_pathingGround) && (RegionContainsPoint(libPEB1_gv_archangelAreas[lp_archangelArea].lv_region, lv_testPoint) == true)) {
                    lv_targetPoints[autoEC9D75B1_var] = lv_testPoint;
                }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:9360

    lv_newLocation = lv_targetPoint;
    lv_lunara = EventPlayerEffectUsedUnit(c_effectUnitCaster);
    while (((PathingType(lv_newLocation) != c_pathingGround))) {
        lv_newLocation = libNtve_gf_PointOffsetTowardsPoint(lv_newLocation, lv_searchIncrements, UnitGetPosition(lv_lunara));
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:14693

        }

        if (!(((PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingUnpathable) || (PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingCliff) || (PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingBuilding)))) {
            return false;
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:14693

        }

        if (!(((PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingUnpathable) || (PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingCliff) || (PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingBuilding)))) {
            return false;
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:14693

        }

        if (!(((PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingUnpathable) || (PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingCliff) || (PathingType(UnitGetPosition(lv_timeStopEndingUnit)) == c_pathingBuilding)))) {
            return false;
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:1948

    // Automatic Variable Declarations
    // Implementation
    if (((PathingType(lp_locationTarget) == c_pathingUnpathable) || (PathingType(lp_locationTarget) != c_pathingGround))) {
        return false;
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:1948

    // Automatic Variable Declarations
    // Implementation
    if (((PathingType(lp_locationTarget) == c_pathingUnpathable) || (PathingType(lp_locationTarget) != c_pathingGround))) {
        return false;
    }

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:4173

        auto55E94B5C_var = UnitGroupUnitFromEnd(auto55E94B5C_g, auto55E94B5C_u);
        if (auto55E94B5C_var == null) { break; }
        if (((CliffLevel(UnitGetPosition(auto55E94B5C_var)) > 2) || (PathingType(UnitGetPosition(auto55E94B5C_var)) == c_pathingBuilding))) {
            UnitRemove(auto55E94B5C_var);
        }

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2mapMapScript.galaxy:4173

        auto55E94B5C_var = UnitGroupUnitFromEnd(auto55E94B5C_g, auto55E94B5C_u);
        if (auto55E94B5C_var == null) { break; }
        if (((CliffLevel(UnitGetPosition(auto55E94B5C_var)) > 2) || (PathingType(UnitGetPosition(auto55E94B5C_var)) == c_pathingBuilding))) {
            UnitRemove(auto55E94B5C_var);
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:11088

            lv_dropLocation = PointWithOffsetPolar(lv_dropPodLocation, RandomFixed(0.5, 2.0), lv_angle);
            lv_angle = (lv_angle + 77.0);
            if ((PathingType(lv_dropLocation) == c_pathingGround) && (PointPathingIsConnected(lv_dropLocation, lv_dropPodLocation) == true) && (PointPathingPassable(lv_dropLocation) == true)) {
                break;
            }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:11162

            lv_dropLocation = PointWithOffsetPolar(lv_dropPodLocation, 1.0, lv_spawnAngle);
            lv_spawnAngle = (lv_spawnAngle + 77.0);
            if ((PathingType(lv_dropLocation) == c_pathingGround) && (PointPathingIsConnected(lv_dropLocation, lv_dropPodLocation) == true)) {
                break;
            }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:11861

    for ( ; ( (auto773DC6B0_ai >= 0 && lv_moveAttempts <= auto773DC6B0_ae) || (auto773DC6B0_ai < 0 && lv_moveAttempts >= auto773DC6B0_ae) ) ; lv_moveAttempts += auto773DC6B0_ai ) {
        lv_testDropPoint = PointWithOffsetPolar(lp_initialDropPoint, RandomFixed(lp_distanceOffsetMin, lp_distanceOffsetMax), libNtve_gf_RandomAngle());
        if ((PathingType(lv_testDropPoint) == c_pathingGround) && (PointPathingIsConnected(lv_testDropPoint, lp_initialDropPoint) == true) && (PointPathingPassable(lv_testDropPoint) == true)) {
            lv_returnedDropPoint = lv_testDropPoint;
            break;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:27616

    }

    if ((UnitIsAlive(libCOMI_gv_cM_ZeratulProphecyArtifact) == true) && (PathingType(UnitGetPosition(libCOMI_gv_cM_ZeratulProphecyArtifact)) != c_pathingGround)) {
        UnitSetPosition(libCOMI_gv_cM_ZeratulProphecyArtifact, UnitTypePlacementFromUnit("ZeratulCoop", UnitGetOwner(libCOMI_gv_cM_ZeratulProphecyArtifact), libCOMI_gv_cM_ZeratulProphecyArtifact, 10.0), true);
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:523


    // Implementation
    if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickWalkingInfested)] == false) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_killedUnit)) == false) || (UnitGetOwner(lp_killedUnit) == c_playerAny) || (UnitFilterMatch(lp_killedUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32)))) == false) || (UnitGroupHasUnit(libCOMU_gv_cT_OnDeathSpawns, lp_killedUnit) == true) || (libNtve_gf_KillingPlayer() == UnitGetOwner(lp_killedUnit)) || (UnitGetType(lp_killedUnit) == "TerranDropPod") || (UnitGetType(lp_killedUnit) == "ZergDropPodLarge") || (UnitGetType(lp_killedUnit) == "ZergDropPod") || (PathingType(UnitGetPosition(lp_killedUnit)) != c_pathingGround))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:1016

            }
        }
        if ((PathingType(lv_teleportPoint) == c_pathingGround)) {
            lv_departPoint = UnitGetPosition(lp_damagedUnit);
            PointSetFacing(lv_departPoint, AngleBetweenPoints(lv_departPoint, lv_teleportPoint));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:3134

            for ( ; ( (autoD251832F_ai >= 0 && lv_attempts <= autoD251832F_ae) || (autoD251832F_ai < 0 && lv_attempts >= autoD251832F_ae) ) ; lv_attempts += autoD251832F_ai ) {
                lv_targetLocation = RegionRandomPoint(RegionPlayableMap());
                if ((PathingType(lv_targetLocation) == c_pathingGround) && (PointPathingIsConnected(lv_targetLocation, PlayerStartLocation(1)) == true) && (DistanceBetweenPoints(lv_targetLocation, PlayerStartLocation(1)) > 30.0) && (UnitCount(null, c_playerAny, RegionCircle(lv_targetLocation, 5.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) <= 0)) {
                    autoD1524D39_val = RandomInt(1, 3);
                    if (autoD1524D39_val == 1) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:4281

        for ( ; ( (auto0B9B8DB4_ai >= 0 && lv_birthAttempt <= auto0B9B8DB4_ae) || (auto0B9B8DB4_ai < 0 && lv_birthAttempt >= auto0B9B8DB4_ae) ) ; lv_birthAttempt += auto0B9B8DB4_ai ) {
            lv_spawnLocation = PointWithOffsetPolar(UnitGetPosition(lp_spawningRift), 4.0, libNtve_gf_RandomAngle());
            if ((PathingType(lv_spawnLocation) == c_pathingGround) && (PointPathingIsConnected(lv_spawnLocation, PlayerStartLocation(1)) == true)) {
                UnitSetPosition(lv_birthingUnit, lv_spawnLocation, false);
                if ((AIPathingCostUnit(lv_birthingUnit, PlayerStartLocation(1), c_ignoreEnemyBuildings) > 0)) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:4636

    // Automatic Variable Declarations
    // Implementation
    if ((PathingType(lp_spawnPoint) != c_pathingGround)) {
        return false;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:6948

    while ((lv_spawnCount <= lv_maxSpawn) && (lv_spawnAttempt <= lv_maxSpawnAttempts)) {
        lv_spawnPoint = RegionRandomPoint(RegionEntireMap());
        if ((PointPathingIsConnected(lv_spawnPoint, PlayerStartLocation(1)) == true) && (PathingType(lv_spawnPoint) == c_pathingGround) && (VisIsVisibleForPlayer(1, lv_spawnPoint) == false) && (UnitCount(null, c_playerAny, RegionCircle(lv_spawnPoint, 1.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCount(null, c_playerAny, RegionCircle(lv_spawnPoint, 5.0), UnitFilter((1 << c_targetFilterHarvestableResource), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCountAlliance(1, c_unitAllianceEnemy, RegionCircle(lv_spawnPoint, 25.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) > 0) && (DistanceBetweenPoints(lv_spawnPoint, PlayerStartLocation(1)) >= 30.0) && (DistanceBetweenPoints(lv_spawnPoint, PlayerStartLocation(2)) >= 30.0) && (UnitCount("CelestialLock", c_playerAny, RegionCircle(lv_spawnPoint, 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCount("DuelBubbleUnit", c_playerAny, RegionCircle(lv_spawnPoint, 15.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0)) {
            UnitCreate(1, lv_monsterType, 0, 3, lv_spawnPoint, libNtve_gf_RandomAngle());
            libCOMU_gf_CT_RegisterSpawnedUnit(UnitLastCreated());

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:7166

    while ((lv_spawnCount <= lv_maxSpawn) && (lv_spawnAttempt <= lv_maxSpawnAttempts)) {
        lv_spawnPoint = RegionRandomPoint(RegionEntireMap());
        if ((PointPathingIsConnected(lv_spawnPoint, PlayerStartLocation(1)) == true) && (PathingType(lv_spawnPoint) == c_pathingGround) && (VisIsVisibleForPlayer(1, lv_spawnPoint) == false) && (libCOOC_gf_CC_SpawnAllowedAtPoint(lv_spawnPoint) == true) && (UnitCount(null, c_playerAny, RegionCircle(lv_spawnPoint, 1.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCount(null, c_playerAny, RegionCircle(lv_spawnPoint, 10.0), UnitFilter((1 << c_targetFilterHarvestableResource), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCountAlliance(1, c_unitAllianceEnemy, RegionCircle(lv_spawnPoint, 25.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) > 0) && (DistanceBetweenPoints(lv_spawnPoint, PlayerStartLocation(1)) >= 30.0) && (DistanceBetweenPoints(lv_spawnPoint, PlayerStartLocation(2)) >= 30.0) && (UnitCount("CelestialLock", c_playerAny, RegionCircle(lv_spawnPoint, 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCount("WidowMineBurrowed", c_playerAny, RegionCircle(lv_spawnPoint, 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCount("SpiderMineBurrowed", c_playerAny, RegionCircle(lv_spawnPoint, 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCount("DuelBubbleUnit", c_playerAny, RegionCircle(lv_spawnPoint, 15.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0)) {
            lv_widowMineSpawn = 0;
            lv_spiderMineSpawn = 0;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:7171

            while ((lv_widowMineSpawn < 5)) {
                lv_mineSpawnPoint = RegionRandomPoint(RegionCircle(lv_spawnPoint, 5.0));
                if ((libCOOC_gf_CC_SpawnAllowedAtPoint(lv_mineSpawnPoint) == true) && (PathingType(lv_mineSpawnPoint) == c_pathingGround)) {
                    lv_widowMineSpawn = (lv_widowMineSpawn + 1);
                    UnitCreate(1, lv_monsterType, 0, 3, lv_mineSpawnPoint, libNtve_gf_RandomAngle());

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:7180

            while ((lv_spiderMineSpawn < 7)) {
                lv_mineSpawnPoint = RegionRandomPoint(RegionCircle(lv_spawnPoint, 5.0));
                if ((libCOOC_gf_CC_SpawnAllowedAtPoint(lv_mineSpawnPoint) == true) && (PathingType(lv_mineSpawnPoint) == c_pathingGround)) {
                    lv_spiderMineSpawn = (lv_spiderMineSpawn + 1);
                    UnitCreate(1, lv_monsterType2, 0, 3, lv_mineSpawnPoint, libNtve_gf_RandomAngle());

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:10862

    while ((lv_spawnCount <= lv_maxSpawn) && (lv_spawnAttempt <= lv_maxSpawnAttempts)) {
        lv_spawnPoint = RegionRandomPoint(RegionEntireMap());
        if ((PointPathingIsConnected(lv_spawnPoint, PlayerStartLocation(1)) == true) && (PathingType(lv_spawnPoint) == c_pathingGround) && (libCOOC_gf_CC_SpawnAllowedAtPoint(lv_spawnPoint) == true) && (VisIsVisibleForPlayer(1, lv_spawnPoint) == false) && (UnitCount(null, c_playerAny, RegionCircle(lv_spawnPoint, 5.0), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCount(null, c_playerAny, RegionCircle(lv_spawnPoint, 10.0), UnitFilter((1 << c_targetFilterHarvestableResource), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCountAlliance(1, c_unitAllianceEnemy, RegionCircle(lv_spawnPoint, 25.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) > 0) && (DistanceBetweenPoints(lv_spawnPoint, PlayerStartLocation(1)) >= 30.0) && (DistanceBetweenPoints(lv_spawnPoint, PlayerStartLocation(2)) >= 30.0) && (UnitCount("CelestialLock", c_playerAny, RegionCircle(lv_spawnPoint, 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0) && (UnitCount("DuelBubbleUnit", c_playerAny, RegionCircle(lv_spawnPoint, 15.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0) == 0)) {
            UnitCreate(1, lv_monsterType, 0, 3, lv_spawnPoint, libNtve_gf_RandomAngle());
            lv_spawnCount += 1;

mods/warcoop/legends/gromhellscream.sc2modbase.sc2data/LibLGrm.galaxy:47

    for ( ; ( (auto52194A69_ai >= 0 && lv_currentdistance <= auto52194A69_ae) || (auto52194A69_ai < 0 && lv_currentdistance >= auto52194A69_ae) ) ; lv_currentdistance += auto52194A69_ai ) {
        lv_currentpoint = PointWithOffsetPolar(lv_startingpoint, lv_currentdistance, lv_anglebetweenstartandtarget);
        if ((PathingType(lv_currentpoint) == c_pathingGround) && (AbsF((lv_startingclifflevel - PointPathingCliffLevel(lv_currentpoint))) < lv_maxcliffdifference) && (UnitPathableToPoint(lp_pathingUnit, lv_currentpoint, 0.0, 500.0) == true)) {
            return PointWithOffsetPolar(lv_startingpoint, lv_currentdistance, lv_anglebetweenstartandtarget);
        }