4rpl:commands:getmincreepercellwithdamage

This is an old revision of the document!


Index

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 X coordinate will be negative (not on the map)

Examples

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

Index

4rpl/commands/getmincreepercellwithdamage.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)