Mass Entangling roots - delay?

X-maul

AKA: Demtrod
Reaction score
201
I got this spell, which should be pretty simple, but for some reason there is a little wait on 0.8-1 sec before the entangling roots is getting casted?
Trigger:
  • Roots Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Druid - Roots
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Set TempGroup = (Units within 200.00 of TempPoint)
      • 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
              • And - All (Conditions) are true
                • Conditions
                  • ((Picked unit) is A structure) Not equal to True
                  • ((Picked unit) is A ground unit) Equal to True
                  • ((Owner of (Picked unit)) is an enemy of (Owner of (Triggering unit))) Equal to True
            • Then - Actions
              • Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
              • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
              • Unit - Turn collision for (Last created unit) Off
              • Unit - Add Dummy Spell: Roots to (Last created unit)
              • Unit - Set level of Dummy Spell: Roots for (Triggering unit) to (Level of (Ability being cast) for (Triggering unit))
              • Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
            • Else - Actions
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_TempGroup)


The spell works fine, it's just the delay i want to remove.

AND

wouldnt it be possible to do this? - cause it doesnt work for me? :O
Trigger:
  • Roots Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Druid - Roots
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Set TempGroup = (Units within 200.00 of TempPoint)
      • Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Unit - Turn collision for (Last created unit) Off
      • Unit - Add Dummy Spell: Roots to (Last created unit)
      • Unit - Set level of Dummy Spell: Roots for (Triggering unit) to (Level of (Ability being cast) for (Triggering unit))
      • 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
              • And - All (Conditions) are true
                • Conditions
                  • ((Picked unit) is A structure) Not equal to True
                  • ((Picked unit) is A ground unit) Equal to True
                  • ((Owner of (Picked unit)) is an enemy of (Owner of (Triggering unit))) Equal to True
            • Then - Actions
              • Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
            • Else - Actions
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call DestroyGroup(udg_TempGroup)

There is no cast time on dummy spell, and cast and "Art - Animation - Cast Backswing" is set to 0 on dummy unit.
 

Cheddar

This is the way it was meant to be.
Reaction score
126
Side note: Can't you add Locust to your dummy via Unit Editor instead of turning off collision via triggers?

Maybe it's the cast range on your dummy roots, and the dummies have to move up closer to their respective targets.
 

Sartan

New Member
Reaction score
23
My guess is that oyu have missed to set casting point to zero on your dummy unit.

Take a look at the whisp and see his animation settings.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
I got this spell, which should be pretty simple, but for some reason there is a little wait on 0.8-1 sec before the entangling roots is getting casted?
Maybe it has to turn to face the target, or is the delay exactly equal for each target? Read on:

wouldnt it be possible to do this? - cause it doesnt work for me?
It is possible if your dummy unit has a move speed of 0 - that way it will cast instantly, without having to turn.
 

X-maul

AKA: Demtrod
Reaction score
201
Lol :b might have been the turn rate, setting movement speed to 0 helped :) thank you:thup:
+rep
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top