View Single Post
08-31-23, 11:41 PM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,334
As explained, the limiting factor is these are protected frames at the very least. The only reliable way to deal with protected frames is though user action: pressing a key, clicking a button, or anything that can be derived from such. Your current request is to automate this without user action, which can't be done in any manner that ToS allows.

Also mentioned in my other post is that NamePlates are actually in two parts, an invisible click-frame that the client itself controls (this is the actual NamePlate and is protected) and a "fake" UnitFrame that renders over it. You can do whatever with the UnitFrame given it isn't attached to a NamePlate that's marked as forbidden, but hiding them will still leave your UI littered with an invisible minefield of frames that will intercept clicks if the mouse just happens to be in their area. This is not a practical result in which anyone would be happy playing with.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 08-31-23 at 11:53 PM.
  Reply With Quote