• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Root ability not creating Blight?

Status
Not open for further replies.
Level 7
Joined
Jul 1, 2008
Messages
1,024
Hi there,

I have an Ancient with the Root ability, this is a corrupted ancient so uses the create blight ability, problem is when he uproots, walks somewhere and roots back down it doesn't create blight!

He has the create blight ability. I tried doing this via triggers but the event "Unit beings casting ability" with condition "ability being cast = Root" does not work.

The game doesn't seem to be detecting this ability at all.

I have enclosed a test map, can anyone help? :

http://www.hiveworkshop.com/forums/pastebin_data/fubf61/_files/Blight Root Test Map.w3x
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Root does not work with those ability events. Also blight is only created if the unit is created or the ability is removed and added again.

These are possible workarounds:

A. Replace Root with a bear form ability for transformation. The rooted unit has the blight ability.

B. Check every second or so whether your ancient is e.g. a melee attacker(which means it is rooted). If yes add the blight ability if not remove it.

(C. Use the "Unit is issued an order targeting a point" event and check for the root order. Then remove and add the blight ability. This has the flaw though that the blight will be added when the order is given and not when the tree is actually rooted.)
 
Status
Not open for further replies.
Top