As far as I can tell, there's no way to have an active AND passive ability in one skill. The only way I can see to counter this, is to make 2 behaviors. For example, I have a few ideas of skills myself, and when you use the active part of the passive, it makes the passive disabled for the duration. The way I'll probably have to do this, is create a validator that checks if the ability is in use, and then disable the passive part. So, that is my only suggestion for you as well :-/ if there's another way, someone else might have to explain it.
There's no such thing as a "passive ability" in StarCraft II. They are behaviors now.
Fortunately, behaviors can easily be given a limited duration, and you can create abilities that add behaviors. The effect/behavior approach should have worked. Can you tell me what exactly went wrong? Did you remember to add a button to the Command card? Did you remember to give the behavior a limited duration?
If the button appears and can be clicked, but nothing happens, then I will have to give it some more thought. However, telling me it just doesn't work is too vague.
I want my hero to create the motherships cloakfield on my command, so it stays for 5 secs
i have general problems with creating abilities with passive effects
i have tried to create ability with effect/behaviour cloakfield, but in that way it didnt work. maybe i am doing something wrong
thx for help
@blubbdavid: Go
As far as I can tell, there's no way to have an active AND passive ability in one skill. The only way I can see to counter this, is to make 2 behaviors. For example, I have a few ideas of skills myself, and when you use the active part of the passive, it makes the passive disabled for the duration. The way I'll probably have to do this, is create a validator that checks if the ability is in use, and then disable the passive part. So, that is my only suggestion for you as well :-/ if there's another way, someone else might have to explain it.
There's no such thing as a "passive ability" in StarCraft II. They are behaviors now.
Fortunately, behaviors can easily be given a limited duration, and you can create abilities that add behaviors. The effect/behavior approach should have worked. Can you tell me what exactly went wrong? Did you remember to add a button to the Command card? Did you remember to give the behavior a limited duration?
If the button appears and can be clicked, but nothing happens, then I will have to give it some more thought. However, telling me it just doesn't work is too vague.
Oh man I finally did it. That was a pain in the ass.
But really easy if you know how
That's unneeded: 'behaviour' is also a type of ability, which cuts the crap and directly adds a behaviour to your unit when you press the button.