Skip to content

Actions

aov.room(): table

Returns the current match’s room info, or an empty table when no room is known.

aov.entities(): table

Returns { ready, local_player?, enemies, teammates }. local_player is present when known. enemies and teammates are arrays of entities.

Each entity is { guid, hero_id, health, maximum_health, alive, visible, position }, position in world coordinates.

client.set_event_callback("paint", function()
local e = aov.entities()
if not e.ready then return end
for _, enemy in ipairs(e.enemies) do
if enemy.alive and enemy.position then
local sx, sy = renderer.world_to_screen(enemy.position.x, enemy.position.y, enemy.position.z)
if sx then renderer.circle(sx, sy, 255, 80, 80, 200, 6) end
end
end
end)