View Single Post
01-25-13, 02:20 AM   #4
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
I took a quick look, it's not that simple.

Without testing maybe this set of changes will suffice.
  • Replace instances of "target" with "focus" (as already said)
  • Replace instances of "PLAYER_TARGET_CHANGED" with "PLAYER_FOCUS_CHANGED"
  • Replace instances of LibNameplate:GetTargetNameplate() with LibNameplate:GetNameplateByUnit("focus")
  • Add LibNameplate.RegisterCallback(addon, "LibNameplate_NewNameplate", OnTargetChanged)
Overall I think it's best to submit a feature request to Choonster as this probably goes beyond what an addon user could be expected to do.
  Reply With Quote