I have created a trigger that should check when the unit with the name FRIEND is at damage 1, dead.
I have put this in the condition field:
getdammage friend == 1;
And this in the on activation field:
hint "Friend has been killed";
The problem is that it only seems to work when i play as FRIEND otherwise i dont get the hint or any reaction to the condition i have trired. If i shoot friend nothing happens. But if i suicide as friend or get killed in any other way while playing as the unit friend i get the hint.
Anyone know why and how i can fix this?