Warcraft III resources & community, 2003–2006 · archived

locust ability/ Taking away control of Units

5 posts
#1

locust ability/ Taking away control of Units

I'm making an ORPG. When a hero dies and is waiting to revive, I want to take control of that player's units away until the hero revives, while still having those units stay in his possession. It seems to me that the best way to do this would be to add the locust ability to all his units and then take it away when he revives. The trouble is that the locust ability doesn't appear on any of the ability menus in world edit and I don't know the 4 character spell code for it.

What is the code? Is there a .txt file somewhere that will give me a list of all the spell codes? Maybe there's a better way to do what I'm trying to do...? Let me know what you think, please.

Thanks,
StillJester
#2
Get the stunned, without the spinny thing on top.
#3
You could just pause all of them. That's what he's trying to say (the above poster), I think... But you might want to cast invisible on or hide those units...
#4
Well, i'd recommend to make triggers that select all the players units when the hero dies. Then pause them, and make them invulnerable. undo both when it revives.
#5
The "locust" ability has the code 'aloc'. It's the ability the units spawned at the dread lord's ultimate ability have and in the localized versions it will appear under the same name as these animals, e.g. in the German version, it's "Heuschrecke".
By the way, if you press [Ctrl]+[d] in the object editor, you can see the raw codes instead of the names. This can also be useful for descriptions.