I wanted to make a explode ability. Such ass'.. My Hero casts' a Chain Lightning, and then an trigger registryes that "This unit was hitten by the Chain Lightning, do this!".. But, how do I make an event that can registrery that?
Since it's GUI.
And I think what kla0005 means is how to detect all units that were hit. In order to do that you need to trigger the spell.
You can make a dull ability, which will then trigger a trigger such as this: (handwritten...)
Trigger:
Set Unit[1] = (Triggering unit)
Set Unit[2] = (Target unit of ability being cast)
Set Point[1] = (Position of Unit[1])
Set Point[2] = (Position of Unit[2])
Lightning - Create a Chain Lightning - Primary lightning effect from source Point[1] to target Point[2]
Set Lightning[1] = (Last created lightning effect)
Unit - Cause (Triggering unit) to damage Unit[2], dealing X damage of attack type Chaos and damage type Normal
Set Group[1] = (Units within 250.00 of Point[2] matching (((Owner of (Matching unit)) is an enemy of (Owner of (Triggering unit))) Equal to True) and ((Matching unit) is Not equal to Unit[2])
Set Unit[3] = (Random unit from Group[1])
Set Point[3] = (Position of Unit[3])
Lightning - Create a Chain Lightning - Primary lightning effect from source Point[2] to target Point[3]
Set Lightning[2] = (Last created lightning effect)
Unit - Cause (Triggering unit) to damage Unit[3], dealing X damage of attack type Chaos and damage type Normal
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.