Hello,
i started playing around with addon-coding, my first "addon" should show the number of factions my char knows
. I used a XML-file from a simple clock, and the following (only)function:
function factioncalculate()
local num = GetNumFactions();
local output = string.format("Factions: %d", num);
factionText:SetText(output); <-------This appears in the frame
end
Ok, i used "onShow" in the XML-file, put the function in, and get my factions displayed in the frame when the game is loaded.
BUT: In my charscreen, when i open the reputation-panel, everything is empty
Where is my fault?
Any help is welcome.
Thx in advance,
Doubtfire