Hey i'm making a Cloak skill but with a cooldown instead of energy cost. The way it works is that you use it, then you are cloaked for 10seconds and then you have another 50s cooldown.
The ability work as intended my issue is with the buttons.
My issue is that when I click the cloak button it disappears. But I want the button to stay there, except that it should be grey and unclickable and just display the time left until I get decloaked again. Any ideas how I do this? I thought it was in the command tab of the ability where I could switch the "off" button to "suppressed" but it doesn't seem to work so now I'm turning to you guys.
I already removed the decloak button as I don't want the player to be able to do this (no meaning since it doesn't require energy). I should also note that after I am decloaked the button do reappear and I see the cooldown just fine it's just while i'm cloaked I don't see any feedback from it. It's just gone. I just want to know how to make the button stay after pressed so that it will be greyed out and show the time left until I am decloaked.
Hope you understand my dilemma, all help appreciated
Ahh so thats where the issue is. I made the ability of type Behavior for this as the only abilities I could think of that you click with a persistant greyed out button are attack abilities and they just seems wrong for this type of ability. Maybe it is my lack of knowledge is there any type of ability that you could recommend for this right off the bat? I'm thinking effect - instant maybe? *edit* didn't work, could not use it to add behaviors only effects
Thank you! Thank you, thank you, thank you! I never would have realized I had to make an effect to trigger a behavior without your help. I just thought I could point the behavior right on the ability like with normal cloak.
While were at it and I know this might be hard but I can always ask. Right now my button only shows the cooldown until I can use the skill again. Do you know if there is any way I can make it show the cooldown until I am decloaked instead?
Go to your behaviour. There's an entry called "Display Countdown". Tick "Self" and you're good to go. It's not exactly what you're after but as far as I'm aware it's not possible to have one command card entry display multiple cooldowns without heavy trigger usage.
Epic! It works better than intended, it shows not only the cooldown on the button but the cloak duration as a meter on the unit. You have really been invaluable to me today and I really learned alot, I thank you so much once again :)
Hey i'm making a Cloak skill but with a cooldown instead of energy cost. The way it works is that you use it, then you are cloaked for 10seconds and then you have another 50s cooldown. The ability work as intended my issue is with the buttons. My issue is that when I click the cloak button it disappears. But I want the button to stay there, except that it should be grey and unclickable and just display the time left until I get decloaked again. Any ideas how I do this? I thought it was in the command tab of the ability where I could switch the "off" button to "suppressed" but it doesn't seem to work so now I'm turning to you guys. I already removed the decloak button as I don't want the player to be able to do this (no meaning since it doesn't require energy). I should also note that after I am decloaked the button do reappear and I see the cooldown just fine it's just while i'm cloaked I don't see any feedback from it. It's just gone. I just want to know how to make the button stay after pressed so that it will be greyed out and show the time left until I am decloaked.
Hope you understand my dilemma, all help appreciated
Toggle abilities need an "Off" button on the command card too.
If you want the desired effect in your post then you want to use an Instant ability rather than a Toggle one.
Ahh so thats where the issue is. I made the ability of type Behavior for this as the only abilities I could think of that you click with a persistant greyed out button are attack abilities and they just seems wrong for this type of ability. Maybe it is my lack of knowledge is there any type of ability that you could recommend for this right off the bat? I'm thinking effect - instant maybe? *edit* didn't work, could not use it to add behaviors only effects
There's an effect called "apply behaviour", use that to apply your cloak.
Thank you! Thank you, thank you, thank you! I never would have realized I had to make an effect to trigger a behavior without your help. I just thought I could point the behavior right on the ability like with normal cloak.
While were at it and I know this might be hard but I can always ask. Right now my button only shows the cooldown until I can use the skill again. Do you know if there is any way I can make it show the cooldown until I am decloaked instead?
Once again, thank you :)
Go to your behaviour. There's an entry called "Display Countdown". Tick "Self" and you're good to go. It's not exactly what you're after but as far as I'm aware it's not possible to have one command card entry display multiple cooldowns without heavy trigger usage.
Epic! It works better than intended, it shows not only the cooldown on the button but the cloak duration as a meter on the unit. You have really been invaluable to me today and I really learned alot, I thank you so much once again :)
No worries!