mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-01 16:36:56 +00:00
Add a DBM-style range radar for party and raid members
/radar toggles it and /radar <yards> sets the range; the right-click menu and the mouse wheel step through 5-40 yd. The map turns with GetPlayerFacing so ahead is up, and ClassicAPI.UnitPosition places class-colored dots (the mirrored name, since SuperWoW takes the global with x, y, z order). The range ring is two stacked TempPortraitAlphaMask discs: a ring-color disc under a slightly smaller background-color one. It turns red when a member is inside the range, and a list under the radar shows the five nearest with their raid markers inline. Raid markers come from the markN tokens, so marked mobs show too and a marked member shows the marker instead of a dot. Units behind terrain (UnitInLineOfSight, traced 4x a second) are dimmed. Units on another floor, over 5 yd up or down and steeper than 45 degrees so hills don't count, get an arrow above or below them. Hovering a blip shows its name, distance and both states; clicking a blip or a list row targets it.
This commit is contained in:
@@ -83,4 +83,5 @@
|
||||
<Include file="..\modules\newitem.lua"/>
|
||||
<Include file="..\modules\friendnotes.lua"/>
|
||||
<Include file="..\modules\lossofcontrol.lua"/>
|
||||
<Include file="..\modules\radar.lua"/>
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user