Editing a layout by an extra file
Hello,
i like to edit a layout by writing my changes into an extra file.
So i.e. the layout i want to edit uses a file called unitframes.lua for the style of the unitframes.
inside that file there is a function called: local styleFunc(self, unit) ... where i can find code like self.Health.value = ...
now i want to create an extra file to edit this health value. but how can i achieve this? How can i modify the styleFunc function?
I hope my idea is clear enough described (if not, just ask).
Tia
EDIT: Just found a solution... I'll edit the frames by oUF_Player.Health.value = ...
Last edited by coree : 11-08-14 at 07:57 AM.
|