• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

How to make a unit interaction like Broodbrother in SC2.

Status
Not open for further replies.
Level 27
Joined
Nov 25, 2021
Messages
484
To explain that, I want to make a spell based on Mirror Image. The gimmick is when the summoned illusion dies, the summoning unit will die as well and vice versa. I also want to apply it to non-summoned/non-illusion units too, if possible. Here is a trigger of mine that did not work.
trigger.png
 
Level 27
Joined
Nov 25, 2021
Messages
484
This is just for a hero in a single player map, so I have no need for a unit indexer just yet. Still, your advice to use variables as well moving the actions to another trigger makes the ability works perfectly. Thank you for your help!
 
Status
Not open for further replies.
Top