See, the thing is, I don't want to call the original ever because i need to set this:
this.unit = "target";
If i could somehow set this.unit in the unitframe_onenter i'd be gold. Without setting that value I just get the unit is not set error. I know it's possible since other unit frames like discord can do it, but it's hard to dig through all the more complicated code to find the few lines that do it.
|