Code:
Cast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (some ability)
Actions
Special Effect - Create a special effect at (Target point of ability being cast) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Set LSA_CS = (Casting unit)
Set LSA_LV = (Level of Light Strike Array ( lina ) for LSA_CS)
Set LSA_UG = (Units within 231.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Unit - Order LSA_CS to Stop
Unit Group - Pick every unit in LSA_UG and do (Actions)
Loop - Actions
Unit - Create 1 Light Strike Array Dummy Caster for (Owner of LSA_CS) at (Position of (Picked unit)) facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Set level of Light Array Stun for (Last created unit) to LSA_LV
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
Custom script: call DestroyGroup (udg_LSA_UG)
tnx anyway ...