View Single Post
12-21-17, 11:49 AM   #4
gempir
A Black Drake
 
gempir's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2015
Posts: 84
Okay I think i found the issue.

This is code for spawning tank frames. Now the overriden name (first arugment of SpawnHeader) is oUF_MainTank. Changing this to nil will force oUF to make decision based on the other passed arguments and it correctly spawns the tank frame with hover and click features.


Lua Code:
  1. local maintank = self:SpawnHeader('oUF_MainTank', nil, 'raid',
  2.         'showRaid', true,'showSolo',false, 'groupFilter', 'MAINTANK', 'yOffset', -23,
  3.         'oUF-initialConfigFunction', ([[
  4.             self:SetHeight(%d)
  5.             self:SetWidth(%d)
  6.         ]]):format(cfg.party.health+cfg.party.power+1,cfg.party.width)
  7.         )

What I don't understand is why oUF_MainTank would be incorrect. I can't find a good reference doc where the override names are listed. oUF_Tank doesn't work either.

Anyone maybe a clue to whats going on?
  Reply With Quote