find your cloak ability : in the cost+ - find the COOL DOWN section - where it says : TIME USED - set that to 0
find the De-cloak ability: cost+ - Find the COO DOWN section - where it says TIME USED ( i think) - add the amount of time he needs to wait to de-cloak.
if that's what you mean. try the different fields in the COOL DOWN section to see witch one better fit your needs.
find your cloak ability : in the cost+ - find the COOL DOWN section - where it says : TIME USED - set that to 0
find the De-cloak ability: cost+ - Find the COO DOWN section - where it says TIME USED ( i think) - add the amount of time he needs to wait to de-cloak.
if that's what you mean. try the different fields in the COOL DOWN section to see witch one better fit your needs.
i don't use an ability for de-cloak - its just an ability-> behavior that toggles on and off.. but if thats the best way to do it, then ill change the ability.
i don't use an ability for de-cloak - its just an ability-> behavior that toggles on and off.. but if thats the best way to do it, then ill change the ability.
cheers for the reply
It should at least work, if you use 2 abilities (I think). Just make sure they use the same cooldown link, and the cooldown location should be unit, not ability.
I don't know, how to make the usual toggle behavior abilities behave like you want, maybe its possible as well.
Just give your unit a behaviour that cloaks it and make your Behavior ability apply a buff that disables the cloaking behaviour using the Behavior - Modification - Behaviors Disabled field and has the Toggled On flag enabled.
The end result will be a unit that initially will be uncloaked but will have cooldown when decloaking.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Just give your unit a behaviour that cloaks it and make your Behavior ability apply a buff that disables the cloaking behaviour using the Behavior - Modification - Behaviors Disabled field and has the Toggled On flag enabled.
The end result will be a unit that initially will be uncloaked but will have cooldown when decloaking.
just to make sure i understood this - i should end up with 2 behaviors for this one abil, right?
find the Modification + ; in the BEHAVIOUR TAB find flags , and ENABLE cloak ,
in the ability - find the FLAGS , hit Toggle ( on, off ) also i would trensit ( allows to use the ability while runing/attacking ect. and not stoping him to cast)
NOW: make 2 buttons : cloak ON , cloak OFF
your Hero: fidn the ability + field , add your cloack ability type - behaviour
command card + ad both buttons , ( you should be able to chose ON , OFF ) add them to the Commandcard ( over lap them so it doesnt take more then 1 spot )
second way you can do it is:
2 abilitys
2 effects
1behaviour (might need 2 not sure )
2button
Ability type - Effect instant : here your gona wana add the effect type - APPLY BEHAVIOUR ) witch will apply your CLOAK
ability type - efefct instant : here your gona wana add a Effect type - Remove Behaviour witch will take off your cloack behaviour
againa add both abilities to your hereo`s ability+ and the same thing for command card add the 2 buttons .
PS dont forget the COST+ section of your ability to set the cooldown.
how do i link the cooldown from the decloak ability to the cloak button? what i mean by this is that when i press the "decloak" button, the cooldown is triggered fine, however the button switches from decloak to cloak and i can press the cloak button again.. (ill post a video if that doesnt make sense)
my other question is - how do i make it so the unit is charged an initial 10 energy to be cloaked? if i set the cost to 10 energy, the energy is deducted when i hit decloak (obviously).
thanks for all the help - it took me a while to get my head around this backwards ability lol
Using my method just make the cloak buff have an initial effect that deducts 10 energy and has a validator that the unit has greater than 10 energy if it does not already have the buff active.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Just a heads up, been trying to do this as well and got the same results as you, but I then went into the "use cloak" and just added a 1 second cooldown to it. Apparently, if the cooldown is set to 0, it won't bother linking it to begin with, even if your decloak uses the same cd link and has a cooldown. So now I activate cloak, wait 1 second, then activate decloak, and the decloak applies the 20 second cooldown to the cloak ability
Rollback Post to RevisionRollBack
Zergling Blood : starcraft://map/1/35684
Game of Thrones : starcraft://map/1/189756
Tacticraft : starcraft://map/1/223625
To post a comment, please login or register a new account.
Hi, I'm using the cloak ability, but i want to add a cooldown when a player decloaks (as opposed to setting the cooldown duration from ability cast).
let me know if you need more info - thanks.
find your cloak ability : in the cost+ - find the COOL DOWN section - where it says : TIME USED - set that to 0
find the De-cloak ability: cost+ - Find the COO DOWN section - where it says TIME USED ( i think) - add the amount of time he needs to wait to de-cloak.
if that's what you mean. try the different fields in the COOL DOWN section to see witch one better fit your needs.
i don't use an ability for de-cloak - its just an ability-> behavior that toggles on and off.. but if thats the best way to do it, then ill change the ability.
cheers for the reply
It should at least work, if you use 2 abilities (I think). Just make sure they use the same cooldown link, and the cooldown location should be unit, not ability.
I don't know, how to make the usual toggle behavior abilities behave like you want, maybe its possible as well.
You need 2 abilities.
One Cloak, applies behaviour. One Decloak, removes behaviour.
Decloak has your desired cooldown.
Make a requirement for Cloak. Under "Shown", place an equals [your behaviour] constant 0.
Make sure Cloak is above Decloak on your unit UI.
cheers guys - i appreciate the help.
i was thinking about creating a dummy ability that fired on behavior removal with a linked cooldown as my alternative lol
Just give your unit a behaviour that cloaks it and make your Behavior ability apply a buff that disables the cloaking behaviour using the Behavior - Modification - Behaviors Disabled field and has the Toggled On flag enabled.
The end result will be a unit that initially will be uncloaked but will have cooldown when decloaking.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
just to make sure i understood this - i should end up with 2 behaviors for this one abil, right?
1 billity type - Behaviour
1 Behaviour type - BUFF
in the BUFF behaviour :
find the Modification + ; in the BEHAVIOUR TAB find flags , and ENABLE cloak ,
in the ability - find the FLAGS , hit Toggle ( on, off ) also i would trensit ( allows to use the ability while runing/attacking ect. and not stoping him to cast)
NOW: make 2 buttons : cloak ON , cloak OFF
your Hero: fidn the ability + field , add your cloack ability type - behaviour
command card + ad both buttons , ( you should be able to chose ON , OFF ) add them to the Commandcard ( over lap them so it doesnt take more then 1 spot )
second way you can do it is:
2 abilitys
2 effects
1behaviour (might need 2 not sure )
2button
Ability type - Effect instant : here your gona wana add the effect type - APPLY BEHAVIOUR ) witch will apply your CLOAK
ability type - efefct instant : here your gona wana add a Effect type - Remove Behaviour witch will take off your cloack behaviour
againa add both abilities to your hereo`s ability+ and the same thing for command card add the 2 buttons .
PS dont forget the COST+ section of your ability to set the cooldown.
Yes the first behaviour is a passive that your unit has on by default and the second behaviour is applied by your ability which disables the first.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
last question(s) on this
how do i link the cooldown from the decloak ability to the cloak button? what i mean by this is that when i press the "decloak" button, the cooldown is triggered fine, however the button switches from decloak to cloak and i can press the cloak button again.. (ill post a video if that doesnt make sense)
my other question is - how do i make it so the unit is charged an initial 10 energy to be cloaked? if i set the cost to 10 energy, the energy is deducted when i hit decloak (obviously).
thanks for all the help - it took me a while to get my head around this backwards ability lol
Using my method just make the cloak buff have an initial effect that deducts 10 energy and has a validator that the unit has greater than 10 energy if it does not already have the buff active.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@aFlyingchicken: Go
Just a heads up, been trying to do this as well and got the same results as you, but I then went into the "use cloak" and just added a 1 second cooldown to it. Apparently, if the cooldown is set to 0, it won't bother linking it to begin with, even if your decloak uses the same cd link and has a cooldown. So now I activate cloak, wait 1 second, then activate decloak, and the decloak applies the 20 second cooldown to the cloak ability