User Tools

Site Tools


4rpl:commands:getmincreepercellwithdamage

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

4rpl/commands/getmincreepercellwithdamage.txt · Last modified: 2022/05/17 12:18 by Grabz