| 06-28-2006, 08:11 PM | #2 |
You could hook every single unit with the specific event, but this is madness. Try using unit is damaged instead of unit is attacked. Your event responses will have to change a bit, hopefully just attacked unit -> trigger unit and attacker -> damage source |
| 06-28-2006, 08:15 PM | #4 |
Yeah, but thats only for specific units as well. Would a looping trigger that checks all of the buildings' life ammounts be too laggy? Edit: @TideHunter: I am on patch 1.18, have the triggers changed? Because with specific units I can only select "No Unit" or a unit already on the map. |
| 06-28-2006, 08:20 PM | #5 |
Shadow wrote a generic unit is damaged event. Recent discussion here: http://www.wc3campaigns.net/showthread.php?t=84240 But yes, looping through the buildings, while a dirty hack, would work. |
