| 09-20-2006, 09:21 AM | #1 |
very simple // unit u have 'Aloc' ability call ShowUnit(u,false) call ShowUnit(u,true) // the effect of 'Aloc' (Locust) is gone ! but unit have this ability ! i mean it can be selected and etc. ! //the same but sovling this problem call ShowUnit(u,false) call UnitRemoveAbility(u,'Aloc') ... // or not i mean some actions... call ShowUnit(u,true) call UnitAddAbility(u,'Aloc') // will work correct the sense of this thread to show waht ShowUnit() can have some negative effects ! so beware ! PS it's NOT a bug ! |
| 09-20-2006, 10:25 AM | #2 |
I would say it's a bug, since it's not the desired effect of Hide/Show unit... |
| 09-20-2006, 11:06 AM | #3 |
MindWorX - to name all what is not desired with a BUG is stupid... |
| 09-20-2006, 11:44 AM | #4 |
Some people actually were searching for a way to remove 'Aloc' but didn't know how. And to remove units with aloc I suggest setting their vertex opacity to 0% (transparency 100%). The unit cannot be selected anyway so only its model is visible, thing that can be removed with transparency. However, I doubt this will solve the problem of the shadow so shadowless units with Aloc are prefered. And btw, this is a really cool way of removing Aloc from an unit. Another way was to add it to a spellbook and give/remove the spellbook, but this is so much better. I will experiment with Chaos, since it had the same problem with Aloc. It can't be removed after a single wait (it can be removed though immediately after added). ~Daelin |
| 09-20-2006, 01:20 PM | #5 |
hmnn have I been returned to the past or what? I think that the issue is that Aloc uses code recycled from unit hiding but without setting the unit to invisible. I've seen that sometimes hidden units are able to attack or cast spells and they behave like invisible Aloc units. But it is not really effective for removing Aloc's effect because after doing this the unit's name when you hover the mouse in it is missing. There is no way to remove all of Aloc's side effects. |
| 09-20-2006, 01:47 PM | #6 |
Heh I know what you mean Vex, I remember encountering this like...2 years ago? At any rate, this doesn't work, for the reasons Vex stated. You can drag select a unit but are unable to single target click them, which makes it extremely unusable for stuff like making a unit temporarily untargettable since they never become selectable ever again. |
| 09-21-2006, 12:17 PM | #7 |
HIDE UNIT REMOVE Aloc Move unit to position of this unit moving broke hide state |
