A good example is marauders, as they have an upgrade for this.
On second thought... it seems like you're looking for a unit that slows them self upon getting hit, rather than an attacker that deals slowing damage.
In this case, you'll want to give the damage receiving unit a behavior which contains a damage response. Make sure you give it a chance of 1 (so it always happens), and a damage handled effect which applies a slowing behavior.
Hi, since you are a complete beginner I wouldn't mind creating a small map to demonstrate how it can be done.
I would like some clarification on what needs to happen, does a specific unit receive slow when being hit himself, or does a unit have the ability to slow other units when his attack hits.
Also it would be good to know that Actors in general are for visual/audio purposes, so changing speed in an Actor Event might have to do with animation speed. "Behaviors" can adjust how units behave, ranging from movement-speed adjustments to invulnerability and death effects. "Effects" of type "Apply Behavior" can give these behaviors to units, effects are of many types, a "Damage" type for example is often given to a "Weapon", but effects can be combined so that it it applies both damage and a behavior, which is done for the Marauder - Concussive Shells.
Let me know if you'd like me to create a small map to demonstrate.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi guys, first post here and a newbie to SC2 editor
Does anyone know how to slow a unit when taking damage?
I've tried and Actor Event (UnitDamaged event) and Set Speed Maximum to 0 or Stop but it just doesn't seem to work
Appreciate the help in advance
A good example is marauders, as they have an upgrade for this.
On second thought... it seems like you're looking for a unit that slows them self upon getting hit, rather than an attacker that deals slowing damage.
In this case, you'll want to give the damage receiving unit a behavior which contains a damage response. Make sure you give it a chance of 1 (so it always happens), and a damage handled effect which applies a slowing behavior.
Hi, since you are a complete beginner I wouldn't mind creating a small map to demonstrate how it can be done.
I would like some clarification on what needs to happen, does a specific unit receive slow when being hit himself, or does a unit have the ability to slow other units when his attack hits.
Also it would be good to know that Actors in general are for visual/audio purposes, so changing speed in an Actor Event might have to do with animation speed. "Behaviors" can adjust how units behave, ranging from movement-speed adjustments to invulnerability and death effects. "Effects" of type "Apply Behavior" can give these behaviors to units, effects are of many types, a "Damage" type for example is often given to a "Weapon", but effects can be combined so that it it applies both damage and a behavior, which is done for the Marauder - Concussive Shells.
Let me know if you'd like me to create a small map to demonstrate.