• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Entangling Roots Autocast

Status
Not open for further replies.
Level 3
Joined
May 23, 2015
Messages
24
Hey there,

I was in the world editor trying to make a Entangling Roots autocast ability based on Slow ability. Nothing special, just like the original Entangling Roots ability but autocast.

I make the dummy unit:

DummyUnit.jpg

The dummy ability:

DummyAbility.jpg

And make this trigger:

  • Autocast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Entangling Roots (Dummy)
    • Actions
      • Set temppoint = (Position of (Target unit of ability being cast))
      • Unit - Create 1 Night Elf Dummy for (Triggering player) at temppoint facing Default building facing degrees
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Target unit of ability being cast)
      • Custom script: call RemoveLocation(udg_temppoint)
At first it worked well, but the problem is that even if the ability is at level 2 or 3, when the unit cast the ability the duration and damage will be the same if it were at level 1.

I don't know if something is missing in this trigger (or even in the dummy ability), but I don't know how to fix it. I'm really really really bad at triggers. So, can anyone help me?

I would really appreciate it, thank you!
 
Last edited:
At first it worked well, but the problem is that even if the ability is at level 2 or 3, when the unit cast the ability the duration and damage will be the same if it were at level 1.

I don't know if something is missing in this trigger (or even in the dummy ability), but I don't know how to fix it. I'm really really really bad at triggers. So, can anyone help me?
Well that's because the level of the ability on the dummy unit doesn't change automatically.

All you need to do is add set level of ability (entangling roots) for (Last created unit) to level of ability (Entangling Roots (Dummy)) of (Triggering Unit), that way the ability of Entangling Roots will be on the same level as the slow


p.s. it won't look exactly like how I wrote it, but should be close enough for you to figure it out
 
Well that's because the level of the ability on the dummy unit doesn't change automatically.

All you need to do is add set level of ability (entangling roots) for (Last created unit) to level of ability (Entangling Roots (Dummy)) of (Triggering Unit), that way the ability of Entangling Roots will be on the same level as the slow


p.s. it won't look exactly like how I wrote it, but should be close enough for you to figure it out

More precisely, this function:

  • Unit - Set level of Ability for (Last created unit) to (Level of HeroAbility for (Triggering unit))
 
Oh, now it works!

Thank you guys for your time.

:)

edit: +rep for you both, thank you again!
 
Last edited:
Status
Not open for further replies.
Back
Top