• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] 'Wave' spells with extra effects

Status
Not open for further replies.
Level 4
Joined
Mar 6, 2008
Messages
73
I'm trying to make a spell that creates a wave (much like Carrion Swarm) that damages units with Frost Nova that collides with the wave.

I've tried 2 methods :

Used Breath of Frost, changed the buff type, made it deal 0 damage and changed the art.

This was meant for the trigger to detect when to hit the units with Frost Nova, to detect when the buff is placed on the unit within range. I've tried to add the units with the buff into 2 unit groups, 1 for to 'Hit once', one named 'Already hit'. I made the dummy unit use Frost Nova on the unit's in the Hit Once' group. After this, I've cleared the leaks and units of the first unit group but it still hits the same units, which causes instant death..

The second method was to create a dummy unit with a Tornado aura with 0 values and altered buff. This was to detect the unit with the buffs just like the first method... but after the same triggering, it will still hit the units in 'Already hit'.

Problem?
 
Level 6
Joined
Sep 5, 2007
Messages
264
Do you check to see if a unit is in "Already Hit" before adding to "Hit Once"?

The problem I see with the way the you're doing this is: The buff will repeatedly show up (even if only for a fraction of a second), which is inefficient.

There are more effective ways of doing this, use a dummy unit (which moves from origin to target)... then you find the units within range of the dummy (ignoring units in "Already Hit"), do effect on them, then add them to your "Already Hit" group...
 
Level 11
Joined
Nov 15, 2007
Messages
800
Your way with the buff should work fine. Just do a period event that checks if units have that buff, then frost nova them and remove the buff. There are other ways but I see no reason that one won't work.
 
Status
Not open for further replies.
Top