# Creep Is Present
Grammar — Creep is present at inPosition
Flags —Native
|Function
Returns true if creep is present at a specified point.
# Arguments
point
— Position
Returns — bool
native bool CreepIsPresent(point inPos);
# Related
Category: Environment / Creep And Power
- [F] —
void
— Set Creep Speed — ( CreepSetSpeed ) - [F] —
void
— Modify Creep — ( CreepModify ) - [F] —
bool
— Creep Is Present — ( CreepIsPresent ) - [F] —
int
— Creep Adjacent — ( CreepAdjacent ) - [F] —
int
— FunctionDef/Name/lib_Ntve_00000250 — ( PowerLevel ) - [F] —
int
— Power Level — ( PowerLevel ) - [F] —
bool
— FunctionDef/Name/lib_Ntve_00000251 — ( PowerIsProvidedBy ) - [F] —
bool
— Power Is Provided By — ( PowerIsProvidedBy )
# Examples
# campaigns/liberty.sc2campaign
// 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
// L1150
CreepIsPresent(UnitGetPosition(aiUnit))
// L1177
CreepIsPresent(UnitGetPosition(aiUnit))
# mods/novastoryassets.sc2mod
// L637
CreepIsPresent(UnitGetPosition(UnitGroupLoopCurrent()))
// L637
CreepIsPresent(UnitGetPosition(UnitGroupLoopCurrent()))
# mods/starcoop/starcoop.sc2mod
// L24438
CreepIsPresent(Point(lv_placementX, lv_placementY))
# mods/starcoop/starcoop.sc2mod
// L1349
CreepIsPresent(UnitGetPosition(aiUnit))
// L1372
CreepIsPresent(UnitGetPosition(aiUnit))