- Joined
- Jan 21, 2007
- Messages
- 2,014
Ok, i tried to make a non-target chain lightning which fires chain lightning at all nearby enemy units. The problem is it only shoots one.
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Overload
-
-
Actions
-
Set Overload_Temp_point = (Position of (Triggering unit))
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 800.00 of Overload_Temp_point matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit - Create 1 Dummy Unit 1 for (Owner of (Triggering unit)) at Overload_Temp_point facing Default building facing degrees
-
Unit - Add Focused Lightning to (Last created unit)
-
Unit - Set level of Focused Lightning for (Last created unit) to (Level of Focused Lightning () for (Triggering unit))
-
Unit Group - Order (Last created unit group) to Orc Far Seer - Chain Lightning (Picked unit)
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_Overload_Temp_point)
-
-
-