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!
Hmmm I really want to detect when a unit with reincarnation dies, but both items and ability doesn't trigger the event from happening. I thought the trigger didn't work or I did something wrong in the editor, but now I got it confirmed that I wasn't doing anything wrong.
Here's the GUI version of detecting when a unit with Reincarnation dies:
Melee Initialization
Events
Map initialization
Conditions
Actions
Custom Script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Tauren Chieftain)) and do (Actions)
Loop - Actions
Trigger - Add to Untitled Trigger 001 <gen> the event (Unit - (Picked unit)'s life becomes Equal to (0.41 - 0.05))
^Add the events for all units needed like that. You may have to use Triggering unit, if you use "unit enters playable map area" for example. That Untitled Trigger 001 will then trigger when the unit "dies".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.