Thread Tools Display Modes
04-09-17, 05:29 PM   #1
haztwall
A Kobold Labourer
Join Date: Apr 2017
Posts: 1
Button XML/LUA

Very good, I have this code xml of a button, but I need it to fulfill some conditions to show said button.
Code:
                  <Button name="Button1">
                       <Size x="20" y="20"/>
                           <Anchors>
                             <Anchor point="LEFT" relativeTo="CharacterNameText" relativePoint="BOTTOM">
                               <Offset x="-95" y="6"/>
                             </Anchor> 
                           </Anchors>                
                            <NormalTexture file="Interface\Icons\button1"/>
                           <PushedTexture file="Interface\Icons\button2"/>
                    </Button>
For example I want the button1 to show if the player has "X" achievement and if the player has "Y" achievement show the button2 and hide the button1.

Thank you very much for your answers.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Button XML/LUA


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off