- Joined
- Jun 2, 2009
- Messages
- 1,226
-
DevilCreeptenKac
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
((Attacked unit) is in zUG_DevilHerolarAI) Equal to True
-
((Attacking unit) is in zCreepsReaper) Equal to True
-
aiKaciyor[(Player number of (Owner of (Attacked unit)))] Equal to False
-
((Attacked unit) is in zUG_RegenDevil) Equal to False
-
((Attacked unit) is in CHANNEL) Equal to False
-
-
Actions
-
Set aiKaciyor[(Player number of (Owner of (Attacked unit)))] = True
-
Set TempPoint = ((Position of (Attacked unit)) offset by 250.00 towards ((Angle from (Position of (Attacking unit)) to (Center of PreviousTarget[(Player number of (Owner of (Attacked unit)))])) - 0.00) degrees)
-
Unit - Order (Attacked unit) to Move To TempPoint
-
Custom script: call RemoveLocation (udg_TempPoint)
-
Wait 1.00 seconds
-
Set aiKaciyor[(Player number of (Owner of (Attacked unit)))] = False
-
Set TempGroup = (Units within 800.00 of (Position of (Attacked unit)) matching (((Matching unit) is in zCreepsDevil) Equal to True))
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in TempGroup) Greater than or equal to 1
-
-
Then - Actions
-
Unit - Order aiHero[(Player number of (Owner of (Attacked unit)))] to Attack-Move To (Center of NextTarget[(Player number of (Owner of (Attacked unit)))])
-
-
Else - Actions
-
-
-
-
Custom script: call DestroyGroup (udg_TempGroup)
-
-