- Joined
- Jun 2, 2009
- Messages
- 1,233
Hello everyone. I think finally i have solved my aggro issues by creating new system. But it seems there are flaws in this trigger.
-
AggroTest
-
Events
-
Game - DamageEvent becomes Equal to 1.00
-
-
Conditions
-
(DamageEventTarget is A Hero) Equal to True
-
(DamageEventSource is A Hero) Equal to True
-
-
Actions
-
Set DamagePoint = (Position of DamageEventTarget)
-
Set DamageGroup = (Units within 1000.00 of DamagePoint)
-
Unit Group - Pick every unit in DamageGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is in CreepsGroup) Equal to True
-
((Picked unit) belongs to an enemy of (Owner of DamageEventSource)) Equal to True
-
-
Then - Actions
-
Unit - Order (Picked unit) to Attack DamageEventSource
-
Trigger - Run AggroEndsYeter <gen> (checking conditions)
-
-
Else - Actions
-
-
-
-
Custom script: call RemoveLocation(udg_DamagePoint)
-
-
-
AggroEndsYeter
-
Events
-
Conditions
-
Actions
-
Wait 2.00 seconds
-
Unit Group - Pick every unit in DamageGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) is in CreepsGroup) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Picked unit)) Equal to ClanDevilPlayer
-
-
Then - Actions
-
Unit - Order (Picked unit) to Attack-Move To DevilOCCreep[(Level of creep seyi devil for (Picked unit))]
-
Cinematic - Ping minimap for (All players) at DevilOCCreep[(Level of creep seyi devil for (Picked unit))] for 1.00 seconds
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Picked unit)) Equal to ClanReaperPlayer
-
-
Then - Actions
-
Unit - Order (Picked unit) to Attack-Move To ReaperOCCreep[(Level of creep seyi reaper for (Picked unit))]
-
Cinematic - Ping minimap for (All players) at ReaperOCCreep[(Level of creep seyi reaper for (Picked unit))] for 1.00 seconds
-
-
Else - Actions
-
-
-
-
-
Else - Actions
-
-
-
-
Custom script: call DestroyGroup(udg_DamageGroup)
-
-