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

HIVE

OutsiderXE
OutsiderXE
Hi. You need to replace the specific unit event with a generic one and a condition. E.g. instead of
Event: Thrall enter region

use

Event: Unit enters region
Condition: Entering unit equal to Thrall
deepstrasz
deepstrasz
Ah, I see. Thanks. I guess Thrall in the condition is the unit variable yes and not the selected unit on the map.
Well, work work.
OutsiderXE
OutsiderXE
Yes, exactly.
deepstrasz
deepstrasz
Hmm. How to do that with A Unit Takes damage events?
For instance you can add the event to a trigger with the action "Trigger - Add New Event" but what after? There's no condition to reflect the damaged target only the damage source.
  • Wow
Reactions: San
OutsiderXE
OutsiderXE
I've never used that damage event. My workarounds usually involve reacting to attack events with some time delay or comparing unit life periodically.
Vinz
Vinz
There's no condition to reflect the damaged target only the damage source.
Triggering Unit.
deepstrasz
deepstrasz
Hopefully, the code understands who that is referring to.
Top