| 06-29-2005, 07:29 PM | #1 |
How do you get a Hero's abilities into an array? The only option the GUI gives you is "target ability being cast" or you can set the variable to an ability that's in WE. I want to get abilities ON THE FLY. Anyone know any way to do it? Wth JASS preferrably. |
| 06-29-2005, 07:35 PM | #2 |
no actual way to get the hero's ability if you mean I choose an archmage and the comp tells me: blizzard, brilliance, aura, etc. but you can detect if a hero has an ability, e.g. I want to know if my paladin has thunder clap and it will return false. This can be found in boolean conditions in WEU |
| 06-29-2005, 08:51 PM | #3 | |
Quote:
|
| 06-30-2005, 12:02 AM | #4 |
Couldn't you increment through the integer codes for abilities checking if the hero has each one? This would only work with custom abilities though because they use a 'a###' numbering system rather than a 4 letter acronym for the spell. |
