ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Need some help editing very simple addon (https://www.esoui.com/forums/showthread.php?t=10282)

joshleeman 07/20/22 07:27 PM

Need some help editing very simple addon
 
I have no experience with lua or coding but what Im wanting is probably easy for someone with a little author knowledge. I want to make this addon icon only appear when the skill is running. Right now the icon is static and only the countdown number changes which is ok and all but essentially its just a blown up action bar icon. Id love to be able to edit this to make it appear when the skill is cast and disappear when the skill ends and it hits 0. Basically the opposite if what the addon Crystal shard helper does, that one shows an icon when the ability is ready to be used and disappears when you use the proc. The addon and the xml pasted below id be so grateful for help.

https://www.esoui.com/downloads/info...nAssau....html

<GuiXml>
<Controls>
<TopLevelControl name="ShalkTrackerPanel" mouseEnabled="true" movable="true" clampedToScreen="false" hidden="true">
<Dimensions x="64" y="64" />
<Anchor point="CENTER" relativeTo="GuiRoot" />
<OnMoveStop>
Shalk.SavedVariables.Panel.Left = ShalkTrackerPanel:GetLeft()
Shalk.SavedVariables.Panel.Top = ShalkTrackerPanel:GetTop()
</OnMoveStop>
<Controls>
<Texture name="$(parent)Icon" textureFile="/esoui/art/icons/ability_warden_015.dds">
<Anchor point="CENTER" relativeTo="$(parent)" />
<Dimensions x="64" y="64" />
</Texture>
<Texture textureFile="/esoui/art/actionbar/abilityframe64_up.dds">
<Anchor point="CENTER" relativeTo="$(parent)" />
<Dimensions x="64" y="64" />
</Texture>
<Label name="$(parent)Label" font="/esoui/common/fonts/univers67.otf|50|soft-shadow-thick" color="FFFFFF"
verticalAlignment="CENTER" horizontalAlignment="CENTER" text="0">
<Anchor point="CENTER" relativeTo="$(parent)" />
</Label>
</Controls>
</TopLevelControl>
</Controls>
</GuiXml>


All times are GMT -6. The time now is 11:09 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI