I have an ability with max charge = 4, starting charges = 4, and charges used = 0
if I set the charges used to 1, i can modify its charges with triggers
if i set the charges used to 0, i cannot modify its charges with triggers
is there anyway to work around that? Id prefer to keep the charge count visible
is there a trigger event that fires when a button is cliked, weather or not the ability goes through? because i can refund charges when the ability is used, but i cant use it (and want to be able to use it) when it has 0 charges. is it possible to detect when an ability is attempted to be used, even if theres not enough mana/cooldown/charges?
(just for the record, the charges on the ability has nothing to do with the functioning of the ability itself. the charges are used for other things)
correct me if i got something wrong. you have an ability that shall be used independ from the charges. the charges are just a visual to show something else.
if that is the case i would use a dialog attached to the button, just like the charge counter and set the number with triggers.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have an ability with max charge = 4, starting charges = 4, and charges used = 0
if I set the charges used to 1, i can modify its charges with triggers if i set the charges used to 0, i cannot modify its charges with triggers
is there anyway to work around that? Id prefer to keep the charge count visible is there a trigger event that fires when a button is cliked, weather or not the ability goes through? because i can refund charges when the ability is used, but i cant use it (and want to be able to use it) when it has 0 charges. is it possible to detect when an ability is attempted to be used, even if theres not enough mana/cooldown/charges?
(just for the record, the charges on the ability has nothing to do with the functioning of the ability itself. the charges are used for other things)
@Grasshopper721: Go
correct me if i got something wrong. you have an ability that shall be used independ from the charges. the charges are just a visual to show something else. if that is the case i would use a dialog attached to the button, just like the charge counter and set the number with triggers.