| 01-02-2006, 10:27 AM | #1 | |
The problem with this, the units become invulnerable, but stays like that even though they leave the aura. Quote:
|
| 01-02-2006, 11:24 AM | #2 |
You cannnot use waits in group functions. Instead I would add all units in the rect to a global unit group variable, and make a trigger that periodically checks if the units are outside the rect, and when they are, make them vulnerable and remove them from the group. |
| 01-02-2006, 03:16 PM | #3 |
if you execute a trigger inside "pick every unit" statements, the trigger can use picked unit and have waits |
| 01-02-2006, 04:44 PM | #4 |
And please, don't use [quote] for trigger posting. Use [trigger] (preferred) or at least [code]. |
| 01-02-2006, 05:48 PM | #5 |
I'd use three triggers, one that constantly centers the invulnerability aura region on the hero. One that gives invulnerability to the entering unit if they are on their team. And one that removes tha aura when they leave the region. |
| 01-02-2006, 06:24 PM | #6 |
