So I've been using the "last attacker of triggering unit" as a condition check when units changes it life status.
All was nice and dandy, but then, out of the blue, the script stopped working.
I've tried stuff like "display name of last attacker", tried also similar script on a different unit - still not working. it's like it doesnt identify the attacking unit.
I even tried "display name of owner of attacking unit", simply doesnt recognize anything.
is there anyway to check what's wrong here?
maybe to use galaxy script instead?
I havent changed anything in the code actually that made it stopped working. that's why I think it might be bugged.
Also I've done as Blizzard instructed by addressing the units.
Anyway, I've "solved" the problem by using "Unit is attacked" event then I used the "Attacking unit == xxxxxxx" rather then "Last attacker == xxxxxxx".
Thanks guys!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey guys,
So I've been using the "last attacker of triggering unit" as a condition check when units changes it life status. All was nice and dandy, but then, out of the blue, the script stopped working.
I've tried stuff like "display name of last attacker", tried also similar script on a different unit - still not working. it's like it doesnt identify the attacking unit. I even tried "display name of owner of attacking unit", simply doesnt recognize anything.
is there anyway to check what's wrong here? maybe to use galaxy script instead?
Thanks in advance.
@BeerDuke: Go
What did you change? Post some code
Attacking Unit is typically defined when the event "Unit takes damage" is used. Is that the event you used?
You might have to use a "unit is attacked" event or "unit begins attacking."
I havent changed anything in the code actually that made it stopped working. that's why I think it might be bugged. Also I've done as Blizzard instructed by addressing the units.
Anyway, I've "solved" the problem by using "Unit is attacked" event then I used the "Attacking unit == xxxxxxx" rather then "Last attacker == xxxxxxx".
Thanks guys!