# Creep Is Present

Grammar — Creep is present at inPosition
FlagsNative | Function

Returns true if creep is present at a specified point.

# Arguments

  • point — Position

Returns — bool

native bool CreepIsPresent(point inPos);

Category: Environment / Creep And Power

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L219
CreepIsPresent(lp_point)
// L225
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, (IntToFixed(lv_i) * 90.0)))
// L647
CreepIsPresent(lp_point)
// L653
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, (IntToFixed(lv_i) * 90.0)))
// L851
CreepIsPresent(UnitGetPosition(autoE675049B_var))
// L861
CreepIsPresent(UnitGetPosition(autoDEB2E354_var))
// L219
CreepIsPresent(lp_point)
// L225
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, (IntToFixed(lv_i) * 90.0)))
// L647
CreepIsPresent(lp_point)
// L653
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, (IntToFixed(lv_i) * 90.0)))
// L851
CreepIsPresent(UnitGetPosition(autoE675049B_var))
// L861
CreepIsPresent(UnitGetPosition(autoDEB2E354_var))
// L476
CreepIsPresent(Point(lv_x, lv_y))
// L1300
CreepIsPresent(PointFromId(205))
// L476
CreepIsPresent(Point(lv_x, lv_y))
// L1300
CreepIsPresent(PointFromId(205))
// L590
CreepIsPresent(Point(lv_x, lv_y))
// L1097
CreepIsPresent(lv_testPoint)
// L1111
CreepIsPresent(lv_testPoint)
// L290
CreepIsPresent(lp_point)
// L290
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, 0.0))
// L290
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, 90.0))
// L290
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, 180.0))
// L290
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, 270.0))
// L590
CreepIsPresent(Point(lv_x, lv_y))
// L1097
CreepIsPresent(lv_testPoint)
// L1111
CreepIsPresent(lv_testPoint)
// L290
CreepIsPresent(lp_point)
// L290
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, 0.0))
// L290
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, 90.0))
// L290
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, 180.0))
// L290
CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, 270.0))

# mods/core.sc2mod

TactZergAI.galaxy

// L1150
CreepIsPresent(UnitGetPosition(aiUnit))
// L1177
CreepIsPresent(UnitGetPosition(aiUnit))

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L637
CreepIsPresent(UnitGetPosition(UnitGroupLoopCurrent()))
// L637
CreepIsPresent(UnitGetPosition(UnitGroupLoopCurrent()))

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L24438
CreepIsPresent(Point(lv_placementX, lv_placementY))

# mods/starcoop/starcoop.sc2mod

TactZergAI.galaxy

// L1349
CreepIsPresent(UnitGetPosition(aiUnit))
// L1372
CreepIsPresent(UnitGetPosition(aiUnit))