Trigger:
- Frigid Grasp
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Frigid Grasp
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Frigid Grasp for (Casting unit)) Equal to 1
- Then - Actions
- Unit Group - Pick every unit in (Units within 600.00 of (Position of (Casting unit))) and do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy Spellcaster (For Skills) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
- Unit - Add Frigid Grasp (Dummy Unit Version) to (Last created unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Set level of Frigid Grasp (Dummy Unit Version) for (Last created unit) to 1
- Unit - Order (Last created unit) to Neutral - Firebolt (Picked unit)
- Loop - Actions
- Unit Group - Pick every unit in (Units within 600.00 of (Position of (Casting unit))) and do (Actions)
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Frigid Grasp for (Casting unit)) Equal to 2
- Then - Actions
- Unit Group - Pick every unit in (Units within 600.00 of (Position of (Casting unit))) and do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy Spellcaster (For Skills) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
- Unit - Add Frigid Grasp (Dummy Unit Version) to (Last created unit)
- Unit - Set level of Frigid Grasp (Dummy Unit Version) for (Last created unit) to 2
- Unit - Order (Last created unit) to Neutral - Firebolt (Picked unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Unit Group - Pick every unit in (Units within 600.00 of (Position of (Casting unit))) and do (Actions)
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Frigid Grasp for (Casting unit)) Equal to 3
- Then - Actions
- Unit Group - Pick every unit in (Units within 600.00 of (Position of (Casting unit))) and do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy Spellcaster (For Skills) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
- Unit - Add Frigid Grasp (Dummy Unit Version) to (Last created unit)
- Unit - Set level of Frigid Grasp (Dummy Unit Version) for (Last created unit) to 3
- Unit - Order (Last created unit) to Neutral - Firebolt (Picked unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Unit Group - Pick every unit in (Units within 600.00 of (Position of (Casting unit))) and do (Actions)
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Frigid Grasp for (Casting unit)) Equal to 4
- Then - Actions
- Unit Group - Pick every unit in (Units within 600.00 of (Position of (Casting unit))) and do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy Spellcaster (For Skills) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
- Unit - Add Frigid Grasp (Dummy Unit Version) to (Last created unit)
- Unit - Set level of Frigid Grasp (Dummy Unit Version) for (Last created unit) to 4
- Unit - Order (Last created unit) to Neutral - Firebolt (Picked unit)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Unit Group - Pick every unit in (Units within 600.00 of (Position of (Casting unit))) and do (Actions)
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
I read a guide on hiveworkshops about how to do AOE skills. The skill I made here looks fine but after 5 - 6 casts the whole game lags up really bad.
Thinking "what the heck happened?" I changed my dummy model to a little zerg to see if the dummy units dies properly. It does. I keep doing so and until the 5th cast, the models of my target and the dummy are messed up (Kind of stretched) and it lags the game everytime I view that area.
There are no longer dummy units there but I have no idea why it is still lagging. Any help?