# Line Crosses Cliff
Grammar — The line from from to destination crosses a cliff edge.
Flags —Native
|Function
# Arguments
point
— Frompoint
— Destination
Returns — bool
native bool CrossCliff(point inFrom, point inDest);
# Related
Category: Environment / Terrain And Water
- Show/Hide Environment —
void
— EnvironmentShow - Height At Point —
fixed
— WorldHeight - Terrain Texture At Point —
string
<gamelink::TerrainTex> — TerrainTexture - Cliff Level Of Point (Integer) —
int
— CliffLevel - Cliff Level Of Point (Real) —
fixed
— PointPathingCliffLevel - Line Crosses Cliff —
bool
— CrossCliff - Terrain Has Custom Attribute —
bool
— HasCustomCellAttribute - Show/Hide Terrain —
void
— TerrainShowRegion - Set Water State —
void
— WaterSetState - Pause/Unpause Water Transition —
void
— WaterPause
# Examples
mods/heroesdata.stormmod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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;
}