• 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.

[Spell] Random aoe Unit pick and check

Status
Not open for further replies.
Level 5
Joined
Feb 18, 2016
Messages
96
Hello

I need some help with a trigger i couldn't complete for an ability

The ability is target to a point
When cast it creates a dummy and pick one random enemy organic unit in a range (prioritize heroes) and starts damaging it every second

If the unit leaves the maximum area the dummy will check for another unit nearby

All of this spell works perfectly fine but the problem comes when it checks for nearby units with all these conditions

It seems really easy but i could not make it work

Sometimes it the dummy picks himself, sometimes does nothing
 
Status
Not open for further replies.
Top