Creature Distance from Player
#104
Shows text on a creature with distance from player.
onCreaturePositionChange(function(creature, oldPos, newPos)
if newPos == nil then return end
if not creature:isCreature() then return end
creature:setText(getDistanceBetween(pos(), newPos))
end)
- remove | + add
24 Aug 2022