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.