HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Defend

03-05-2004, 06:48 AM#1
Mink
I have a unit that I wish to change it's armor type when it uses defend. I was atempting to do this using a modified Storm Crow Form spell, however the unit does not use the defend animation though. I don't see a way to do so through triggers since the defend animation has three parts... Anyone have an idea?
03-05-2004, 07:52 AM#2
DereX
The only way I know to change a armor type... upgrades.
You could do something like this...
Set an upgrade wich cange the armor type, and one that change it back to the standard.
Then set up a trigger like:
-A unit begins casting an ability
-
-if ability being cast eqaul to Activate Defend then do set upgrade1 level to 1
if ability being cast eqaul to Deactivate Defend then do set upgrade2 level to 1
03-05-2004, 01:20 PM#3
Silver_Lynx
why not just use a trigger that changes the units armor when it casts defend? if you can only use upgrades to do that...then make some fake upgrade that gives like +X armor...and whenever a unit uses defend, grant it that upgrade...when it turns it off, take the ability away.
03-05-2004, 07:47 PM#4
Mink
Quote:
Originally Posted by Silver_Lynx
why not just use a trigger that changes the units armor when it casts defend? if you can only use upgrades to do that...then make some fake upgrade that gives like +X armor...and whenever a unit uses defend, grant it that upgrade...when it turns it off, take the ability away.

I am not aware of a way to change the armor type through triggers other then the upgrade method. Is there a better way.
03-05-2004, 11:06 PM#5
Mink
Quote:
Originally Posted by Esoteric Potentate
Use two units, one with the new armor, one with the other. Use a morph ability to switch between them.

Give the defending unit the required animation tag "defend".

Thanks alot! That's exactly what I needed. :D