| 03-09-2005, 10:05 PM | #1 |
I'll just make things simple. Is there any possible way to detect a unit's armor type through triggers? I'm creating a few different spells (through the object editor, but I plan to make some trigger-based) and I want them to have different effects, depending on the type of armor the target unit has. Is this at all possible through triggers, or am I going to need to use JASS? Or should I just come to a conclusion that it's not possible and give up right now? EDIT: Meh, oh well. Thanks for the help, anyway. ^_^; |
| 03-09-2005, 10:09 PM | #2 |
No, there isn't. |
| 03-09-2005, 10:22 PM | #3 |
In relation to the original post, is there a function that would give you the ammount of armour a unit has (it would be a real function, I suppose)? I know it isn't in GUI, but maybe it exists nevertheless and can be used with custom text? Just asking if there's a simpler method than what I currently use, which is checking the unit's agility and the bonus armour items the unit has. |
| 03-10-2005, 12:20 AM | #4 |
I'm almost positive there isnt, I just searched for 'unit' with that jedit thing I keep talking about and couldnt find a single good function or constant in the entire blizzard.j and common.j. |
