I feel like this should be working? I usually try to use any other options to avoid triggers, but lately I'm trying to understand them more.
So I was trying this:
At first I was using an And in conditions with the current one to check if the unit died and a second "(Attacking unit is hero) equals to true." But that wasn't working.
I reduced it to testing, so at it is the game prints the name of the unit that dies but it should also print the name of it's enemy right? But only one of them gets printed.
Also I know the variables do nothing right now, but I got the idea it's better to store these values in variables since they can sometimes get lost in triggers?
Ultimately, I was trying to make a trigger for when a unit dies specifically by a hero and then do something. Maybe there is a different way to do it? Am I not getting triggers right?
So I was trying this:
At first I was using an And in conditions with the current one to check if the unit died and a second "(Attacking unit is hero) equals to true." But that wasn't working.
I reduced it to testing, so at it is the game prints the name of the unit that dies but it should also print the name of it's enemy right? But only one of them gets printed.
Also I know the variables do nothing right now, but I got the idea it's better to store these values in variables since they can sometimes get lost in triggers?
Ultimately, I was trying to make a trigger for when a unit dies specifically by a hero and then do something. Maybe there is a different way to do it? Am I not getting triggers right?


