A module for Windower 4 addons to use to draw a pointed arrow @ x,y,z with a text box containing the target name and distance
Copy in Images/ and arrow.lua
-- load the module
local arrowmodule = require('arrow')
-- create/delete the arrow & text box
arrow.init()
arrow.destroy()
-- update the arrow point at (target_x,target_y) and
-- set the text box to target_name
-- Note: calls arrow.show()
arrow.update(target_name,target_x,target_y)
-- show/hide the arrow & text box
arrow.show()
arrow.hide()
-- load
lua load arrowdemo
-- point arrow at mob in the mob table
//ad pointat <mob_name>
-- to stop
//ad stop