I'm trying to make three abilities that involve cloaking~
1) One that makes a unit cloaked until they either attack or receive damage, then re-cloaks them after ten seconds
2) One that makes a unit deal additional damage when they're cloaked and apply a debuff behavior when they attack (Would only work once, due to uncloak)
3) One that makes a unit cloak after it receives damage and uncloak after a couple seconds but only once every 30 seconds
If anyone knows good methods of setting these abilities up, their help would be very appreciated :)
@Enigmapfhor: Go For 1: make the unit's attack apply a behavior on itself that disables the cloak behavior, give that new behavior a 10 second duration. Add another behavior with a damage response effect that applies a behavior to the unit, the same behavior you created for the attack.
2: Simplest way to is to add to your cloak behavior a attack damage bonus, but it can be achieved in other ways too.
3: Give a behavior with a damage response to your unit. Make it call for a cloak behavior with a 10 second duration and another one with a 30 second duration that disables the original one that has the damage response.
How do i make one behavior suppress another, though? I've been looking for a field that would let me do that and i can't find one :S
Edit: I know that i can suppress Cloaking in the Modifications field, but how would i go about suppressing the behavior that keeps the unit Cloaked and gives it the Damage buff?
Edit2: Never-mind; Found the behaviors suppression field INSIDE the modifications window, if anyone else was wondering, it's in the Behavior tab labeled as "Behaviors Disabled"
I'm trying to make three abilities that involve cloaking~
1) One that makes a unit cloaked until they either attack or receive damage, then re-cloaks them after ten seconds
2) One that makes a unit deal additional damage when they're cloaked and apply a debuff behavior when they attack (Would only work once, due to uncloak)
3) One that makes a unit cloak after it receives damage and uncloak after a couple seconds but only once every 30 seconds
If anyone knows good methods of setting these abilities up, their help would be very appreciated :)
@Enigmapfhor: Go For 1: make the unit's attack apply a behavior on itself that disables the cloak behavior, give that new behavior a 10 second duration. Add another behavior with a damage response effect that applies a behavior to the unit, the same behavior you created for the attack.
2: Simplest way to is to add to your cloak behavior a attack damage bonus, but it can be achieved in other ways too.
3: Give a behavior with a damage response to your unit. Make it call for a cloak behavior with a 10 second duration and another one with a 30 second duration that disables the original one that has the damage response.
@SoulFilcher: Go
How do i make one behavior suppress another, though? I've been looking for a field that would let me do that and i can't find one :S