Comparing Function Lists in current Beta Build
View Single Post
09-02-08, 11:30 AM
A Theradrim Guardian
Join Date: Jul 2008
Looking at the Talent Frame's code to show the pet talent frame, you should duplicate the code in PlayerTalentFrameType_OnClick() but remove the conditionals and make it directly as if the pet button was pressed. Although, you should provide the code to detect if the button would be shown, (HasPetUI()), and the conditionals for if the talent frame is shown to open it and if the talent frame is shown and so is the pet tab to close it.
The conditional for HasPetUI() is if it will not show any data because your pet is not out.
Last edited by LBXZero : 09-02-08 at
View Public Profile
Send a private message to LBXZero
Find More Posts by LBXZero