- Joined
- Sep 14, 2009
- Messages
- 284
Hi. I have some triggers in my map that are AoE abilities. Each of these trigger cuase a small annoying lag spike everyime they run but I don't know why.
While AbilityPhysical is true, anything that deals damage will trigger a floating text trigger that creates a floating text. I don't know if that can have something to do with the lag.
-
EarthBurstCast
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to (==) Pikmok - Earth Burst
-
-

Actions
-


Set TempPointA = (Position of (Triggering unit))
-


Set TempGroupA = (Units within 425.00 of TempPointA matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and ((Level of Dummy Unit for (Matching unit)) Not equal to (!=) 1)))
-


Custom script: call RemoveLocation(udg_TempPointA)
-


Set AbilityPhysical = True
-


Unit Group - Pick every unit in TempGroupA and do (Actions)
-



Loop - Actions
-




Unit - Cause (Triggering unit) to damage (Picked unit), dealing 35.00 damage of attack type Normal and damage type Normal
-
-
-


Set AbilityPhysical = False
-


Custom script: call DestroyGroup(udg_TempGroupA)
-
-







