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

[General] How does one make something similar to "Is Attacked" but for spells/items?

Level 4
Joined
Oct 8, 2023
Messages
21
Hi -- I created an item which casts a spell, mimicking a ranged attack. You click the item in the inventory, click the target, a projectile fires and it deals damage. It's based off of Shadow Strike. All is good there and I'm having no issues. Hooooowever...

...it isn't triggering this trigger!

worldedit_7Vrm8F0HVF.png


To my understanding, "is attacked" triggers when you tell a unit to right click something and it swings, so it makes sense for an item not to trigger it. That's the problem... How can I make an event as close to the pictured one as possible, but have it trigger when I use an ability or item on the unit?
 
Top