| 09-13-2007, 11:09 PM | #1 |
Ok this is the scenario: Hero is created, I automatically add one ability to the hero and then add hero to the selection of owner of that hero. JASS:
set h = CreateUnit(Player(0), HID_TAUREN, x, y, 0)
call UnitAddAbility(h, AID_SPELL)
call SelectUnitForPlayerSingle(h, GetOwningPlayer(h))
But all my hero ability slots are black, attack, move, patrol... all black. When I manually select some other unit and then select hero again all works fine. |
| 09-14-2007, 06:13 AM | #2 |
Have a slight delay after creation before selecting? |
| 09-14-2007, 07:55 AM | #3 |
You really think I did not remember of that? It does not work, even if it is 5 sec delay other things that do not work: pausing/unpausing, hiding/showing, deselecting/selecting. Stupid blizz.. |
