- Joined
- Sep 8, 2016
- Messages
- 8
Spell causing massive lag after 8+ casts, dummy hero ability based off of channel.
-
Time Out Cast
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Time Out! (Melee)
-
-
Actions
-
Set TimeOut_Point = (Target point of ability being cast)
-
Set TimeOut_Group = (Units within 300.00 of TimeOut_Point matching (((Matching unit) Not equal to (Triggering unit)) and (((Matching unit) is Mechanical) Equal to False)))
-
Unit - Create 1 Time Out Post Dummy for (Owner of (Triggering unit)) at TimeOut_Point facing (Random angle) degrees
-
Unit - Add a (2.20 + (0.60 x (Real((Level of Time Out! (Melee) for (Triggering unit)))))) second Generic expiration timer to (Last created unit)
-
Unit Group - Pick every unit in TimeOut_Group and do (Actions)
-
Loop - Actions
-
Unit - Create 1 Time Out Dummy for (Owner of (Triggering unit)) at TimeOut_Point facing Default building facing degrees
-
Unit - Add a (2.20 + (0.60 x (Real((Level of Time Out! (Melee) for (Triggering unit)))))) second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Human Dragonhawk Rider - Aerial Shackles (Picked unit)
-
-
-
Custom script: call DestroyGroup(udg_TimeOut_Group)
-
Custom script: call RemoveLocation(udg_TimeOut_Point)
-
-
-
Time Out Clean
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Time Out Post Dummy
-
-
Actions
-
Unit - Remove (Triggering unit) from the game
-
-
Last edited: