User Tools

Site Tools


4rpl:commands:getmaxcreepercell

Index
Creeper

GetMaxCreeperCell

GetMaxCreeperCell ->maxCreeperCellZ ->maxCreeperCellX

Description

Gets the map location that contains the maximum amount of creeper. If the map contains no creeper, the returned coordinate pair will be negative (not on the map)

Examples

#Point a unit towards the deepest creeper on the map
GetMaxCreeperCell ->cellZ ->cellX
# RotateUnitTowards2D(<-unitUID <-cellX <-cellZ 10) Most likely as follows:
RotateUnitTowardsCell(<-unitUID <-cellX <-cellZ 10)

See Also

4rpl/commands/getmaxcreepercell.txt · Last modified: 2023/08/13 13:02 by karsten75