• 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] UnitGroup

Status
Not open for further replies.
Level 2
Joined
Aug 20, 2007
Messages
12
hi,

i have a problem with my self created Spell. It should banish all units within 600 Range. But sometimes it doesnot work. Sometimes it banish one enemy and sometimes it banish all units.

Here is the Trigger:

A Unit cast Spell
ability = Evanesco
Action:
Pick every Unit within 600 Range of (Point of (Casting Unit)) matching (((matching Unit) = Building = false)(matching Unit is alive))
Loop
Unit - Create 1 Spell-Dummy to Point of Picked Unit
Unit - Add Evansco-Casterspell to (Last Created Unit)
Unit - Last Created Unit use Vanish at (Picked Unit)
Unit - Set Expiration Timer of 4 Sekunden to Last Created Unit

What can I do?

And if i added a Condition like <(Matching Unit) is an ally of (Casting Unit) = false> then the spell doesnot work. why?

sorry for my bad english ;-)
 
Status
Not open for further replies.
Top