I'm really pretty bad with the editor, and trying to figure out how to make a behavior trigger and last for x amount of time when a unit takes damage/is attacked, could someone help me out?
You will need two Buff behaviours. The first one needs a damage response on defender that applies the second buff which has a limited duration. The fields you need to use are Combat: Damage Response - Chance and Combat: Damage Response - Handled. What the second buff does is up to you.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Ok, so I gave the attacked unit the first behavior, which has the chance field set to 1 and handled is set to trigger an effect that just triggers the second behavior, which should multiply move speed by 2 for 4 seconds.
When said unit gets attacked, the move speed buff is applied to the attacker, not the attacked and I have no clue why xD
Another question if you've got the time, I'm trying to make creep tumors reduce the movement speed of all zealots within certain range of the tumor and I don't know how to set that up
Your Apply Behavior effect is probably not targeting the caster unit.
Make an aura Buff that uses a periodic Search Area effect that applies a second Buff to the target with a duration just longer than the period. Then add a Unit Type validator to the Apply Behavior effect.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I'm really pretty bad with the editor, and trying to figure out how to make a behavior trigger and last for x amount of time when a unit takes damage/is attacked, could someone help me out?
You will need two Buff behaviours. The first one needs a damage response on defender that applies the second buff which has a limited duration. The fields you need to use are Combat: Damage Response - Chance and Combat: Damage Response - Handled. What the second buff does is up to you.
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
Ok, so I gave the attacked unit the first behavior, which has the chance field set to 1 and handled is set to trigger an effect that just triggers the second behavior, which should multiply move speed by 2 for 4 seconds.
When said unit gets attacked, the move speed buff is applied to the attacker, not the attacked and I have no clue why xD
Another question if you've got the time, I'm trying to make creep tumors reduce the movement speed of all zealots within certain range of the tumor and I don't know how to set that up
Your Apply Behavior effect is probably not targeting the caster unit.
Make an aura Buff that uses a periodic Search Area effect that applies a second Buff to the target with a duration just longer than the period. Then add a Unit Type validator to the Apply Behavior effect.
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