I think that "Charge Used" is for abilities with a limited number of uses, like the Creep Tumor.
The best way might just be to start a timer whenever the ability is used. When you need to call the remaining cooldown, just call the time left on the timer.
To read a remaining cooldown for ability with trigger u need to use function "cooldown for unit ability" just like this this:
Variable - Set ability cooldown = (Cooldown of "Abil/WarriorPowerAttack" For Current Hero[1] Warrior Power Attack)
And in the place of string u need to put link to your ability. U can find it in data editor where u set up cooldown for your ability in link field. Problem is when u want to change this link u have to put it as Raw data. Editor bug....
To read a remaining cooldown for ability with trigger u need to use function "cooldown for unit ability" just like this this:
Variable - Set ability cooldown = (Cooldown of "Abil/WarriorPowerAttack" For Current Hero[1] Warrior Power Attack)
And in the place of string u need to put link to your ability. U can find it in data editor where u set up cooldown for your ability in link field. Problem is when u want to change this link u have to put it as Raw data. Editor bug....
Yeah, this is correct. If you want an example, here is a cooldown display UI that I am working on. Just click on my action definition and find it in my sea of actions. :D
The condition is
cooldown = (Charge Used of "" For (Triggering unit) High Templar - Psi Storm) <Real>
but what should be inserted in "" to get it work? at the moment it is always telling me that it is 0.0 for an ability which has 5 seconds cooldown!
I also need to know this... :(
@BeLugh: Go
I think that "Charge Used" is for abilities with a limited number of uses, like the Creep Tumor.
The best way might just be to start a timer whenever the ability is used. When you need to call the remaining cooldown, just call the time left on the timer.
To read a remaining cooldown for ability with trigger u need to use function "cooldown for unit ability" just like this this:
Variable - Set ability cooldown = (Cooldown of "Abil/WarriorPowerAttack" For Current Hero[1] Warrior Power Attack)
And in the place of string u need to put link to your ability. U can find it in data editor where u set up cooldown for your ability in link field. Problem is when u want to change this link u have to put it as Raw data. Editor bug....
Yeah, this is correct. If you want an example, here is a cooldown display UI that I am working on. Just click on my action definition and find it in my sea of actions. :D
GL