View Single Post
08-05-16, 07:29 PM   #3
sk68
A Defias Bandit
Join Date: Dec 2011
Posts: 2
Originally Posted by SDPhantom View Post
Frame:HasScript() checks if the frame is capable of running the specified script handler. You need to run Frame:GetScript() to see if one is set.
Yeah I wanted to know if the frame is capable of running the OnClick handler. I don't care if it has any set already.

Originally Posted by SDPhantom View Post
PS: From what I can tell, the personal resource display is essentially a NamePlate dedicated for the player. As such, the NamePlate itself is probably handling the clicks and not the CompactUnitFrame that's built on top of it.
Yup I already suspected this to be the case. The question still stands tho. How to disable the personal resource display clickability?

Last edited by sk68 : 08-05-16 at 08:31 PM.
  Reply With Quote