Forum > Serverside Modding

FrameXML that handles showing talents tab

(1/1)

Kobiesan:
I'm editing the microbarbuttons in FrameXML to enable to achievements tab and talents tab at a lower level and I was able to make a method return true to allow the achievements bar to work but I cannot find a similar method for the talents tab.

This is is what I did for the achievements tab:

--- Code: ---function HasCompletedAnyAchievement() return true
end

function CanShowAchievementUI() return true
end
--- End code ---

But I cannot find where these come from or where they were made. I checked the TC solution and wow patch files but nothing. Is there a way to update the talents frame to allow it to be shown?

When TalentMicroButton:Enable(); is true it only makes the microbutton visible and not greyed out. How do I get that to actually return pop up the screen when clicked?

I went into the xml and set self.minlevel to 1 and that didn't work either.

Can anyone help?

staleness89:
I know when I was messing with talents I had to edit the addon lua/xml so maybe there

illaoi:
Found that using the search button
http://www.modcraft.io/index.php?topic=7948.msg36953#msg36953

Kobiesan:

--- Quote from: illaoi on June 04, 2017, 04:01:05 pm ---Found that using the search button
http://www.modcraft.io/index.php?topic=7948.msg36953#msg36953

--- End quote ---

I was trying this and it wasn't working but I got it to work by using the newest constants.lua. Whenever you merge the MPQs it'll show you outdated constants from an older patch so I had to find the newest one in the newer patches.

Navigation

[0] Message Index

Go to full version