View Single Post
12-27-11, 08:58 AM   #12
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
It was just an idea how you could do it, now, it does not do anything indeed, but what it does is it let's the rest of the addon code have access to for example "anim" that is a table with data, depending on the spec.

You can test this by adding at the end:
function TEST() return anim end

Then you can /dump TEST() and see the current table content that the addon uses, swap spec, try it again and see if it updated.

The variables update each time you swap spec or see a loading screen, you need more code to do stuff from there and onward, now I haven't used rothui but no rothui user here to help us out what the next step is? :P

I'd try find where the addon changes or uses this "anim" data then see if I can find a way to inject my own anim table into it, thus altering it.
  Reply With Quote