Index
Creeper

GetMinCreeperCellWithDamage

GetMinCreeperCellWithDamage ->minCreeperCellZ ->minCreeperCellX

Description

Gets the map location that contains the smallest amount of creeper factoring in damage. If the map contains no creeper, the returned coordinates will be 0 0.

Examples

#Point a unit towards the least creeper on the map
GetMinCreeperCellWithDamage ->cellZ ->cellX
RotateUnitTowards2D(<-unitUID <-cellX <-cellZ 10)

Index