- Joined
- Mar 18, 2012
- Messages
- 1,716
Is there a way to cancel the KillUnit() native, so the unit doesn't die?
I tried setting widget life and adding invul.
I asked because KillUnit changes a unit behaviour in
GroupEnumUnitsIn... combined with 'Aloc'.
Locust units start to appear in the enumeration.
If there is a way to stop KillUnit from actually killing the unit,
that would be a way to make dummies enumerable, while having the
locust effect. I don't know what KillUnit() does appart from that,
so maybe it's not recommended to use it.
I tried setting widget life and adding invul.
I asked because KillUnit changes a unit behaviour in
GroupEnumUnitsIn... combined with 'Aloc'.
Locust units start to appear in the enumeration.
If there is a way to stop KillUnit from actually killing the unit,
that would be a way to make dummies enumerable, while having the
locust effect. I don't know what KillUnit() does appart from that,
so maybe it's not recommended to use it.