Should be possbible. Easiest way would probably be an Effect - Instant ability executing a Search Area effect, which searches for enemy units in 500 range (= entire map) and uses an Apply Behavior effect to apply a behavior of type Buff, which modifys the move speed of the units.
Is it a passive or active ability? If it is a passive you need a mothership cloaking field like ability where the buff on the unit speeds it up while emitting a periodic sreach effect that applies a slowing buff to units within the desired area.
In short give the unit a behaviour of the Buff type which uses a rapid periodic Search Area effect that then uses an Appy Behavior effect to apply a second Buff type behaviour that has a duration slightly longer than the applying period.
Unlike the cloaking you want the Search Area effect to target enemies instead of allies and the applied buff to slow instead of cloak.
Does your unit have the ability and not just the button in the command card? Is your ability appling the right behaviour? What validators/requirements do the buffs have? Sure you are using periods and durations >0?
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hi
is it possible to make an ability that slows every enemy unit, and lets your own unit move in normal speed or faster? If so, can someone tell me how?
Thanks
Best regards
Benny
Should be possbible. Easiest way would probably be an Effect - Instant ability executing a Search Area effect, which searches for enemy units in 500 range (= entire map) and uses an Apply Behavior effect to apply a behavior of type Buff, which modifys the move speed of the units.
Is it a passive or active ability? If it is a passive you need a mothership cloaking field like ability where the buff on the unit speeds it up while emitting a periodic sreach effect that applies a slowing buff to units within the desired area.
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
Yeah I would like it to be a passive. Don´t know much about creating buff´s , do you have the time to write it step by step like? =) Would be great!
Thanks
Look how mothership's cloaking field buff works.
In short give the unit a behaviour of the Buff type which uses a rapid periodic Search Area effect that then uses an Appy Behavior effect to apply a second Buff type behaviour that has a duration slightly longer than the applying period.
Unlike the cloaking you want the Search Area effect to target enemies instead of allies and the applied buff to slow instead of cloak.
http://www.sc2mapster.com/wiki/galaxy/data/units/
http://www.sc2mapster.com/wiki/galaxy/data/behaviors/buff/
http://www.sc2mapster.com/wiki/galaxy/data/effects/apply-behavior/
http://www.sc2mapster.com/wiki/galaxy/data/effects/search-area/
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
hmm, tried to change the cloaking, and made a new ability. But nothing happens when I press my new ability button =(
Does your unit have the ability and not just the button in the command card? Is your ability appling the right behaviour? What validators/requirements do the buffs have? Sure you are using periods and durations >0?
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