Damage effects can have search in them. I suggest looking at Tychus's gun form the WoL campaign as it's pretty simple but has most of the stuff you'd want.
Standard aura setup. Apply a buff to the host unit (for a permanent effect set it on the Unit itself), then use the "Periodic Effect" field to apply a Search Area or AoE Damage effect. Make sure to exclude "Self" from the search filter or the unit will kill itself rather effectively. If you use an AoE damage effect set the impact location to a Point type scope so the primary damage doesn't kill the caster.
For temporary abilities a buff is better for manual toggles as the Behavior type ability can do just that, for fixed-duration effects you can achieve much the same with a Persistent effect applying the AoE. In general the Buff has the advantage of being closely tied to the host unit, it auto-cancels if the host dies and you can directly modify the units' stats for multi-faceted hero abilities. The Persistent has more options for messing with the periodic application, can offset the pulses a fixed distance from itself, and can keep running independently if desired.
Search vs. AoE damage is largely a matter of preference I believe, but iirc it's harder to have impact visuals on individual targets when not using the Search.
Standard aura setup. Apply a buff to the host unit (for a permanent effect set it on the Unit itself), then use the "Periodic Effect" field to apply a Search Area or AoE Damage effect. Make sure to exclude "Self" from the search filter or the unit will kill itself rather effectively. If you use an AoE damage effect set the impact location to a Point type scope so the primary damage doesn't kill the caster.
Will that make the aoe last forever? I don't want it to end after a while. Is there any other way to do it since on my map you have to be in melee range?
If you don't mess with the Period Count field the effect will pulse forever, a Buff can additionally be made to expire based on its Duration field (again, default=infinite)
I don't understand what your "melee range" problem is, anything that walks within the search range (centered on the host unit by default in this setup) will take damage every pulse.
From the rest of the paragraph. Preexisting abilities include the Mothership Cloaking Field, Noxious Ultralisk passive poison and a few others. Most of these are a little more complex than what you need because they modify the targets' stats and are coded to be non-stacking.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How do I make a unit's attack, like let's say a Zergling's attack, an aoe?
In the weapons effect, change the damage to a search area and have that search area apply the damage instead
Damage effects can have search in them. I suggest looking at Tychus's gun form the WoL campaign as it's pretty simple but has most of the stuff you'd want.
Oh sorry. What I meant was, it always does aoe even if it doesn't attack.
So like a unit will take damage from the Zergling if the unit gets in range of its aoe.
Standard aura setup. Apply a buff to the host unit (for a permanent effect set it on the Unit itself), then use the "Periodic Effect" field to apply a Search Area or AoE Damage effect. Make sure to exclude "Self" from the search filter or the unit will kill itself rather effectively. If you use an AoE damage effect set the impact location to a Point type scope so the primary damage doesn't kill the caster.
For temporary abilities a buff is better for manual toggles as the Behavior type ability can do just that, for fixed-duration effects you can achieve much the same with a Persistent effect applying the AoE. In general the Buff has the advantage of being closely tied to the host unit, it auto-cancels if the host dies and you can directly modify the units' stats for multi-faceted hero abilities. The Persistent has more options for messing with the periodic application, can offset the pulses a fixed distance from itself, and can keep running independently if desired.
Search vs. AoE damage is largely a matter of preference I believe, but iirc it's harder to have impact visuals on individual targets when not using the Search.
Will that make the aoe last forever? I don't want it to end after a while. Is there any other way to do it since on my map you have to be in melee range?
If you don't mess with the Period Count field the effect will pulse forever, a Buff can additionally be made to expire based on its Duration field (again, default=infinite)
I don't understand what your "melee range" problem is, anything that walks within the search range (centered on the host unit by default in this setup) will take damage every pulse.
For the "standard aura setup" where do I go for that?
From the rest of the paragraph. Preexisting abilities include the Mothership Cloaking Field, Noxious Ultralisk passive poison and a few others. Most of these are a little more complex than what you need because they modify the targets' stats and are coded to be non-stacking.