The CooldownDisplay provides a rectangular or circular shaped radial cooldown wipe for interface objects needing to display that information.
CooldownDisplay | The CooldownDisplay provides a rectangular or circular shaped radial cooldown wipe for interface objects needing to display that information. |
XML Definition | This is the CooldownDisplay xml definition. |
XML Tag | |
Optional Attributes | These are optional. |
cooldownshape | The shape of the cooldown; is it circlular or rectangular? |
segments | Only applies to circular CooldownDisplays. |
CooldownDisplaySetCooldown() | Alters the state of the cooldown animation. |
This is the CooldownDisplay xml definition.
XML Tag | |
Optional Attributes | These are optional. |
cooldownshape | The shape of the cooldown; is it circlular or rectangular? |
segments | Only applies to circular CooldownDisplays. |
CooldownDisplaySetCooldown() | Alters the state of the cooldown animation. |
These are optional. You can use whichever apply to the CooldownDisplay you are creating.
The shape of the cooldown; is it circlular or rectangular?
A string value, “circle” or “square”
Only applies to circular CooldownDisplays.
An integer value, which determines the number of segments around the circular CooldownDisplay.
Alters the state of the cooldown animation. This either begins a new cooldown, adjusts a cooldown in progress, or stops a cooldown.
cooldownDisplayName | (string) The window name of the CooldownDisplay. |
currentCooldownValue | (number) What the timer is currently set to. |
maximumCooldownValue | (number) What the maximum timer of the cooldown is. |
CooldownDisplaySetCooldown ("TestCooldown", 5, 5) -- Resets the cooldown to 5 seconds, begins animating instantly.