# Line Crosses Cliff

Grammar — The line from from to destination crosses a cliff edge.
FlagsNative | Function

# Arguments

  • point — From
  • point — Destination

Returns — bool

native bool CrossCliff(point inFrom, point inDest);

Category: Environment / Terrain And Water

# Examples

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

    }

    if ((lp_locationFrom != null) && ((PointPathingCliffLevel(lp_locationTarget) != PointPathingCliffLevel(lp_locationFrom)) || (CrossCliff(lp_locationFrom, lp_locationTarget) == true))) {
        return false;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if (((CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 0.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 45.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 90.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 135.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 180.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 225.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 270.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 315.0)) == true))) {
        return true;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if (((CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 0.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 45.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 90.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 135.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 180.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 225.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 270.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 315.0)) == true))) {
        return true;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if (((CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 0.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 45.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 90.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 135.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 180.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 225.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 270.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 315.0)) == true))) {
        return true;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if (((CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 0.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 45.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 90.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 135.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 180.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 225.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 270.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 315.0)) == true))) {
        return true;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if (((CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 0.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 45.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 90.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 135.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 180.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 225.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 270.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 315.0)) == true))) {
        return true;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if (((CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 0.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 45.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 90.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 135.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 180.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 225.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 270.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 315.0)) == true))) {
        return true;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if (((CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 0.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 45.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 90.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 135.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 180.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 225.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 270.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 315.0)) == true))) {
        return true;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if (((CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 0.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 45.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 90.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 135.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 180.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 225.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 270.0)) == true) || (CrossCliff(lp_testPoint, PointWithOffsetPolar(lp_testPoint, lp_testDistance, 315.0)) == true))) {
        return true;
    }