# Bottom-Left Of Region Bounds

Grammar — Bottom-left of r bounds
FlagsNative | Function

Returns the minimum bounds of a region. For a rectangle region, this is the bottom-left corner of the rectangle. In the general case, this is a point comprising the left-most X coordinate and the bottom-most Y coordinate of the region.

# Arguments

  • region — Region

Returns — point

native point RegionGetBoundsMin(region r);

Category: Region / Modification

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2525

    lv_maxBound = RegionGetBoundsMax(lv_boundary);
    lv_maxBound = PointWithOffset(lv_maxBound, 4.0, 2.0);
    lv_minBound = RegionGetBoundsMin(lv_boundary);
    lv_minBound = PointWithOffset(lv_minBound, -4.0, -2.0);
    lv_boundary = RegionRect(PointGetX(lv_minBound), PointGetY(lv_minBound), PointGetX(lv_maxBound), PointGetY(lv_maxBound));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2550

    // Implementation
    lv_bounds = gf_GetCameraBoundary();
    return (lp_x + PointGetX(RegionGetBoundsMin(lv_bounds)));
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3135

    if ((RegionContainsPoint(lv_bounds, lv_posNext) == false)) {
        lv_maxBound = RegionGetBoundsMax(lv_bounds);
        lv_minBound = RegionGetBoundsMin(lv_bounds);
        lv_x = PointGetX(lv_posNext);
        lv_y = PointGetY(lv_posNext);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6355

        else {
        }
        lv_lowerSideY = (PointGetY(RegionGetBoundsMin(lv_outerBounds)) + (libNtve_gf_HeightOfRegion(lv_outerBounds) * 0.333));
        if ((lv_lowerSide == false) && (PointGetY(lv_posCurrent) <= lv_lowerSideY)) {
            lv_lowerSide = true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:35


    // Implementation
    lv_radius = (AbsF((PointGetX(RegionGetBoundsMax(lp_circle)) - PointGetX(RegionGetBoundsMin(lp_circle)))) / 2.0);
    return PointWithOffsetPolar(RegionGetCenter(lp_circle), RandomFixed(0.0, lv_radius), libNtve_gf_RandomAngle());
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:2525

    lv_maxBound = RegionGetBoundsMax(lv_boundary);
    lv_maxBound = PointWithOffset(lv_maxBound, 4.0, 2.0);
    lv_minBound = RegionGetBoundsMin(lv_boundary);
    lv_minBound = PointWithOffset(lv_minBound, -4.0, -2.0);
    lv_boundary = RegionRect(PointGetX(lv_minBound), PointGetY(lv_minBound), PointGetX(lv_maxBound), PointGetY(lv_maxBound));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:2550

    // Implementation
    lv_bounds = gf_GetCameraBoundary();
    return (lp_x + PointGetX(RegionGetBoundsMin(lv_bounds)));
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:3135

    if ((RegionContainsPoint(lv_bounds, lv_posNext) == false)) {
        lv_maxBound = RegionGetBoundsMax(lv_bounds);
        lv_minBound = RegionGetBoundsMin(lv_bounds);
        lv_x = PointGetX(lv_posNext);
        lv_y = PointGetY(lv_posNext);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:6355

        else {
        }
        lv_lowerSideY = (PointGetY(RegionGetBoundsMin(lv_outerBounds)) + (libNtve_gf_HeightOfRegion(lv_outerBounds) * 0.333));
        if ((lv_lowerSide == false) && (PointGetY(lv_posCurrent) <= lv_lowerSideY)) {
            lv_lowerSide = true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:35


    // Implementation
    lv_radius = (AbsF((PointGetX(RegionGetBoundsMax(lp_circle)) - PointGetX(RegionGetBoundsMin(lp_circle)))) / 2.0);
    return PointWithOffsetPolar(RegionGetCenter(lp_circle), RandomFixed(0.0, lv_radius), libNtve_gf_RandomAngle());
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:467

    // Automatic Variable Declarations
    // Variable Initialization
    lv_x = PointGetX(RegionGetBoundsMin(RegionPlayableMap()));
    lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
    lv_endx = PointGetX(RegionGetBoundsMax(RegionPlayableMap()));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:468

    // Variable Initialization
    lv_x = PointGetX(RegionGetBoundsMin(RegionPlayableMap()));
    lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
    lv_endx = PointGetX(RegionGetBoundsMax(RegionPlayableMap()));
    lv_endy = PointGetY(RegionGetBoundsMax(RegionPlayableMap()));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:474

    // Implementation
    while ((lv_x <= lv_endx)) {
        lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
        while ((lv_y <= lv_endy)) {
            if ((CreepIsPresent(Point(lv_x, lv_y)) == true)) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2mapMapScript.galaxy:467

    // Automatic Variable Declarations
    // Variable Initialization
    lv_x = PointGetX(RegionGetBoundsMin(RegionPlayableMap()));
    lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
    lv_endx = PointGetX(RegionGetBoundsMax(RegionPlayableMap()));

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2mapMapScript.galaxy:468

    // Variable Initialization
    lv_x = PointGetX(RegionGetBoundsMin(RegionPlayableMap()));
    lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
    lv_endx = PointGetX(RegionGetBoundsMax(RegionPlayableMap()));
    lv_endy = PointGetY(RegionGetBoundsMax(RegionPlayableMap()));

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2mapMapScript.galaxy:474

    // Implementation
    while ((lv_x <= lv_endx)) {
        lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
        while ((lv_y <= lv_endy)) {
            if ((CreepIsPresent(Point(lv_x, lv_y)) == true)) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:581

    // Automatic Variable Declarations
    // Variable Initialization
    lv_x = PointGetX(RegionGetBoundsMin(RegionPlayableMap()));
    lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
    lv_endx = PointGetX(RegionGetBoundsMax(RegionPlayableMap()));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:582

    // Variable Initialization
    lv_x = PointGetX(RegionGetBoundsMin(RegionPlayableMap()));
    lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
    lv_endx = PointGetX(RegionGetBoundsMax(RegionPlayableMap()));
    lv_endy = PointGetY(RegionGetBoundsMax(RegionPlayableMap()));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:588

    // Implementation
    while ((lv_x <= lv_endx)) {
        lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
        while ((lv_y <= lv_endy)) {
            if ((CreepIsPresent(Point(lv_x, lv_y)) == true) && (RegionContainsPoint(RegionFromId(59), Point(lv_x, lv_y)) == false) && (RegionContainsPoint(RegionFromId(60), Point(lv_x, lv_y)) == false)) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pcampaigntest.sc2map/MapScript.galaxy:497

    }
    UnitGroupLoopEnd();
    IntLoopBegin(FixedToInt((PointGetY(RegionGetBoundsMin(RegionFromId(1))) + 1.0)), FixedToInt(PointGetY(RegionGetBoundsMax(RegionFromId(1)))));
    for ( ; !IntLoopDone() ; IntLoopStep() ) {
        libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "ShapeCube", Point((PointGetX(RegionGetCenter(RegionFromId(1))) + (libNtve_gf_WidthOfRegion(RegionFromId(1)) / 2.0)), IntLoopCurrent()), ColorWithAlpha(100.00, 100.00, 100.00, 0.00), 0.0, 270.0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2mapMapScript.galaxy:581

    // Automatic Variable Declarations
    // Variable Initialization
    lv_x = PointGetX(RegionGetBoundsMin(RegionPlayableMap()));
    lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
    lv_endx = PointGetX(RegionGetBoundsMax(RegionPlayableMap()));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2mapMapScript.galaxy:582

    // Variable Initialization
    lv_x = PointGetX(RegionGetBoundsMin(RegionPlayableMap()));
    lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
    lv_endx = PointGetX(RegionGetBoundsMax(RegionPlayableMap()));
    lv_endy = PointGetY(RegionGetBoundsMax(RegionPlayableMap()));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2mapMapScript.galaxy:588

    // Implementation
    while ((lv_x <= lv_endx)) {
        lv_y = PointGetY(RegionGetBoundsMin(RegionPlayableMap()));
        while ((lv_y <= lv_endy)) {
            if ((CreepIsPresent(Point(lv_x, lv_y)) == true) && (RegionContainsPoint(RegionFromId(59), Point(lv_x, lv_y)) == false) && (RegionContainsPoint(RegionFromId(60), Point(lv_x, lv_y)) == false)) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pcampaigntest.sc2mapMapScript.galaxy:497

    }
    UnitGroupLoopEnd();
    IntLoopBegin(FixedToInt((PointGetY(RegionGetBoundsMin(RegionFromId(1))) + 1.0)), FixedToInt(PointGetY(RegionGetBoundsMax(RegionFromId(1)))));
    for ( ; !IntLoopDone() ; IntLoopStep() ) {
        libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "ShapeCube", Point((PointGetX(RegionGetCenter(RegionFromId(1))) + (libNtve_gf_WidthOfRegion(RegionFromId(1)) / 2.0)), IntLoopCurrent()), ColorWithAlpha(100.00, 100.00, 100.00, 0.00), 0.0, 270.0);

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4171

    // Automatic Variable Declarations
    // Implementation
    return AbsF((PointGetX(RegionGetBoundsMax(lp_region)) - PointGetX(RegionGetBoundsMin(lp_region))));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4177

    // Automatic Variable Declarations
    // Implementation
    return AbsF((PointGetY(RegionGetBoundsMax(lp_region)) - PointGetY(RegionGetBoundsMin(lp_region))));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3470

    // Automatic Variable Declarations
    // Implementation
    return AbsF((PointGetX(RegionGetBoundsMax(lp_region)) - PointGetX(RegionGetBoundsMin(lp_region))));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3476

    // Automatic Variable Declarations
    // Implementation
    return AbsF((PointGetY(RegionGetBoundsMax(lp_region)) - PointGetY(RegionGetBoundsMin(lp_region))));
}

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:615


    // Implementation
    lv_x1 = PointGetX(RegionGetBoundsMin(lp_area));
    lv_x2 = PointGetX(RegionGetBoundsMax(lp_area));
    lv_y1 = PointGetY(RegionGetBoundsMin(lp_area));

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:617

    lv_x1 = PointGetX(RegionGetBoundsMin(lp_area));
    lv_x2 = PointGetX(RegionGetBoundsMax(lp_area));
    lv_y1 = PointGetY(RegionGetBoundsMin(lp_area));
    lv_y2 = PointGetY(RegionGetBoundsMax(lp_area));
    lv_result = RegionRect((lv_x1 + lp_leftOffset), (lv_y1 + lp_bottomOffset), (lv_x2 + lp_rightOffset), (lv_y2 + lp_topOffset));

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:615


    // Implementation
    lv_x1 = PointGetX(RegionGetBoundsMin(lp_area));
    lv_x2 = PointGetX(RegionGetBoundsMax(lp_area));
    lv_y1 = PointGetY(RegionGetBoundsMin(lp_area));

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:617

    lv_x1 = PointGetX(RegionGetBoundsMin(lp_area));
    lv_x2 = PointGetX(RegionGetBoundsMax(lp_area));
    lv_y1 = PointGetY(RegionGetBoundsMin(lp_area));
    lv_y2 = PointGetY(RegionGetBoundsMax(lp_area));
    lv_result = RegionRect((lv_x1 + lp_leftOffset), (lv_y1 + lp_bottomOffset), (lv_x2 + lp_rightOffset), (lv_y2 + lp_topOffset));

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

        lv_cosineofTargetAngle = Cos(lv_targetAngle);
        if ((lv_cosineofTargetAngle > -0.001) && (lv_cosineofTargetAngle < 0.001)) {
            lv_abilityTargetPoint = Point(PointGetX(RegionGetBoundsMin(RegionPlayableMap())), PointGetY(lv_targetPoint));
        }
        else {

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

        lv_cosineofTargetAngle = Cos(lv_targetAngle);
        if ((lv_cosineofTargetAngle > -0.001) && (lv_cosineofTargetAngle < 0.001)) {
            lv_abilityTargetPoint = Point(PointGetX(lv_targetPoint), PointGetY(RegionGetBoundsMin(RegionPlayableMap())));
        }
        else {

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

            lv_cosineofTargetAngle = Cos(lv_targetAngle);
            if ((lv_cosineofTargetAngle > -0.001) && (lv_cosineofTargetAngle < 0.001)) {
                lv_abilityTargetPoint = Point(PointGetX(RegionGetBoundsMin(RegionPlayableMap())), PointGetY(lv_targetPoint));
            }
            else {

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

            lv_cosineofTargetAngle = Cos(lv_targetAngle);
            if ((lv_cosineofTargetAngle > -0.001) && (lv_cosineofTargetAngle < 0.001)) {
                lv_abilityTargetPoint = Point(PointGetX(lv_targetPoint), PointGetY(RegionGetBoundsMin(RegionPlayableMap())));
            }
            else {

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

    lv_itIndex = 1;
    for ( ; ( (autoF3AAFE09_ai >= 0 && lv_itIndex <= autoF3AAFE09_ae) || (autoF3AAFE09_ai < 0 && lv_itIndex >= autoF3AAFE09_ae) ) ; lv_itIndex += autoF3AAFE09_ai ) {
        if ((PointGetX(RegionGetBoundsMax(lp_bound)) == PointGetX(RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetBoundsMax(lp_bound)) == PointGetY(RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetX(RegionGetBoundsMin(lp_bound)) == PointGetX(RegionGetBoundsMin(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetBoundsMin(lp_bound)) == PointGetY(RegionGetBoundsMin(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetX(RegionGetCenter(lp_bound)) == PointGetX(RegionGetCenter(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetCenter(lp_bound)) == PointGetY(RegionGetCenter(libGame_gv_cameraBound_Regions[lv_itIndex])))) {
            return lv_itIndex;
        }

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

    lv_itIndex = 1;
    for ( ; ( (autoF3AAFE09_ai >= 0 && lv_itIndex <= autoF3AAFE09_ae) || (autoF3AAFE09_ai < 0 && lv_itIndex >= autoF3AAFE09_ae) ) ; lv_itIndex += autoF3AAFE09_ai ) {
        if ((PointGetX(RegionGetBoundsMax(lp_bound)) == PointGetX(RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetBoundsMax(lp_bound)) == PointGetY(RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetX(RegionGetBoundsMin(lp_bound)) == PointGetX(RegionGetBoundsMin(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetBoundsMin(lp_bound)) == PointGetY(RegionGetBoundsMin(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetX(RegionGetCenter(lp_bound)) == PointGetX(RegionGetCenter(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetCenter(lp_bound)) == PointGetY(RegionGetCenter(libGame_gv_cameraBound_Regions[lv_itIndex])))) {
            return lv_itIndex;
        }

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

    lv_itIndex = 1;
    for ( ; ( (autoF3AAFE09_ai >= 0 && lv_itIndex <= autoF3AAFE09_ae) || (autoF3AAFE09_ai < 0 && lv_itIndex >= autoF3AAFE09_ae) ) ; lv_itIndex += autoF3AAFE09_ai ) {
        if ((PointGetX(RegionGetBoundsMax(lp_bound)) == PointGetX(RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetBoundsMax(lp_bound)) == PointGetY(RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetX(RegionGetBoundsMin(lp_bound)) == PointGetX(RegionGetBoundsMin(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetBoundsMin(lp_bound)) == PointGetY(RegionGetBoundsMin(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetX(RegionGetCenter(lp_bound)) == PointGetX(RegionGetCenter(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetCenter(lp_bound)) == PointGetY(RegionGetCenter(libGame_gv_cameraBound_Regions[lv_itIndex])))) {
            return lv_itIndex;
        }

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

    lv_itIndex = 1;
    for ( ; ( (autoF3AAFE09_ai >= 0 && lv_itIndex <= autoF3AAFE09_ae) || (autoF3AAFE09_ai < 0 && lv_itIndex >= autoF3AAFE09_ae) ) ; lv_itIndex += autoF3AAFE09_ai ) {
        if ((PointGetX(RegionGetBoundsMax(lp_bound)) == PointGetX(RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetBoundsMax(lp_bound)) == PointGetY(RegionGetBoundsMax(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetX(RegionGetBoundsMin(lp_bound)) == PointGetX(RegionGetBoundsMin(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetBoundsMin(lp_bound)) == PointGetY(RegionGetBoundsMin(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetX(RegionGetCenter(lp_bound)) == PointGetX(RegionGetCenter(libGame_gv_cameraBound_Regions[lv_itIndex]))) && (PointGetY(RegionGetCenter(lp_bound)) == PointGetY(RegionGetCenter(libGame_gv_cameraBound_Regions[lv_itIndex])))) {
            return lv_itIndex;
        }

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

        lv_cosineofTargetAngle = Cos(lv_targetAngle);
        if ((lv_cosineofTargetAngle > -0.001) && (lv_cosineofTargetAngle < 0.001)) {
            lv_abilityTargetPoint = Point(PointGetX(RegionGetBoundsMin(RegionPlayableMap())), PointGetY(lv_targetPoint));
        }
        else {

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

        lv_cosineofTargetAngle = Cos(lv_targetAngle);
        if ((lv_cosineofTargetAngle > -0.001) && (lv_cosineofTargetAngle < 0.001)) {
            lv_abilityTargetPoint = Point(PointGetX(lv_targetPoint), PointGetY(RegionGetBoundsMin(RegionPlayableMap())));
        }
        else {

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

            lv_cosineofTargetAngle = Cos(lv_targetAngle);
            if ((lv_cosineofTargetAngle > -0.001) && (lv_cosineofTargetAngle < 0.001)) {
                lv_abilityTargetPoint = Point(PointGetX(RegionGetBoundsMin(RegionPlayableMap())), PointGetY(lv_targetPoint));
            }
            else {

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

            lv_cosineofTargetAngle = Cos(lv_targetAngle);
            if ((lv_cosineofTargetAngle > -0.001) && (lv_cosineofTargetAngle < 0.001)) {
                lv_abilityTargetPoint = Point(PointGetX(lv_targetPoint), PointGetY(RegionGetBoundsMin(RegionPlayableMap())));
            }
            else {

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

    UnitCreateEffectPoint(libCOMI_gv_cM_HeroUnit[lv_p], libCOMI_gv_cM_Tychus_OdinSummonEffect_Called, EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
    Wait(1.0, c_timeGame);
    UnitSetPosition(libCOMI_gv_cM_HeroUnit[lv_p], RegionGetBoundsMin(RegionEntireMap()), false);
    return true;
}

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

    while (true) {
        Wait(1.0, c_timeGame);
        if (((PointGetX(UnitGetPosition(lp_blizzardUnit)) >= libNtve_gf_WidthOfRegion(RegionPlayableMap())) || (PointGetY(UnitGetPosition(lp_blizzardUnit)) <= PointGetY(RegionGetBoundsMin(RegionPlayableMap()))))) {
            break;
        }