Overwriting an element - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-21-14, 04:31 AM   #1
A Cliff Giant
Pyrates's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 77
Overwriting an element

Hi there!

I can add an element to ouf via

Lua Code:
  1. oUF:AddElement('RaidDebuffs', Update, Enable, Disable)

In an older version of ouf, I could simply call AddElement again to overwrite the element with another one. After an update (I'm not sure about the version numbers, I'm basing my stuff on Tukui Beta), there's an error message and I assume that the element wasn't overwritten.

What can I do here without modifying the original code, i.e. I can't remove the lua code that adds the element. Is there something like oUF:RemoveElement or the like?

Thanks for any pointers!
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Overwriting an element

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off