HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Upgrade Ability Removing

09-30-2004, 08:43 AM#1
garith
Basically, i need it to be so when a person finishes an upgrade (5 levels) All grunts on the map loose an ability and gain a difrent one. The abilities need to be difrent and canot be leveled up versions of the same thing.

I could do this myself, but i was mistaken in thinking that there was a "Unit- Affected Units" string in triggers.

Thanks anyone who can help!
-Garith
09-30-2004, 02:47 PM#2
iNfraNe
Quote:
Originally Posted by garith
Basically, i need it to be so when a person finishes an upgrade (5 levels) All grunts on the map loose an ability and gain a difrent one. The abilities need to be difrent and canot be leveled up versions of the same thing.

I could do this myself, but i was mistaken in thinking that there was a "Unit- Affected Units" string in triggers.

Thanks anyone who can help!
-Garith
Make a trigger that fires when u finish the 5th level of the ability. In the actions, pick all units of type grunt owned by that player and remove the old ability, add the new one. But there is another way, why dont you just use the berserk upgrade? it automaticly changes it into another unit (which u give another spell). Hope this helped
09-30-2004, 11:47 PM#3
th15
Picking each unit and removing/adding an ability is probably not the best way to do it.

Give the grunts both abiltities but edit the abilities available settings (near the techtree menu) so that the 2nd ability starts disabled.

When the upgrade is completed, enable the new ability, disable the old one.