HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Getting all unit abilities

01-21-2005, 04:49 PM#1
Morre
Hi,
does anyone know of a way to get all the abilities of a unit, and save them in ability variables? I want to select and remove a random ability from a hero. I know of one way to do this, and that's assaigning a number to each and every ability, a custom value to the hero, and then do (if custom number = x, then remove random from (all with that custom number)), but it's crude and requires a lot of work... perhaps JASS would be the best thing to use, but since I prefer not to, I'm asking here and then moving to the JASS forum if nobody knows. Thanks in advance,

//Morre

EDIT: Anyone know of a way to make war stomp target self properly, so that you and everyone around you gets stunned?
01-21-2005, 05:13 PM#2
Vexorian
no way, unless you kind of write your own map initialization trigger where you tell the game which unit has which ability
01-21-2005, 05:39 PM#3
Morre
Quote:
Originally Posted by Lord Vexorian
no way, unless you kind of write your own map initialization trigger where you tell the game which unit has which ability

Ehm, ok, that's what I was afraid of... Thanks anyway, though.