• 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.

[Trigger] Event for consuming runes

Status
Not open for further replies.
Level 1
Joined
Apr 12, 2020
Messages
5
Hello!

Might be obvious but I had no luck finding it, nor googling it but...


...is there an event that registers when unit consumes a rune? Like Rune of Restoration, Tome of Power and all those items that are consumed as soon as aquired?

I want to make a spell that creates a rune near target when cast. When consumed, that rune restores health to nearby allies based on their missing health. So more damage they have, more they get healed.

I have a pretty good idea how to do it, I just cannot find event for it.

Thank you!
 
Level 15
Joined
Feb 7, 2020
Messages
398
You should be able to use the event . .

  • Unit - A unit Acquires an item
. . for consumables. Items in the engine are of type item, regardless of consumable flag. Anything set to perishable (aka consumable) simply removes the item after acquiring and automatically running its attached ability (with the "Use on Acquire" toggle).
 
Level 1
Joined
Apr 12, 2020
Messages
5
Hmmm, was sure I tried that already and it didn't work. I tried it again and it works now. I probably messed something up first time. Thank you!
 
Status
Not open for further replies.
Top