• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Removing an ability after research another.

Status
Not open for further replies.

Wojbik

W

Wojbik

Greetings.
I need some help with trigger. Look, I have an unit Burning Archer who can shoot Fire Arrows. It's some kind of powerful ability. A Graveyard allows to research another ability for Burning Archer called Arrows of Deadflames; it's a powerful ability too. In my battle-kind map, Burning Archer with two of these skills would be too hard to kill and simply will be overpowered.
Burning Archer start with ability Fire Arrows. When Arrows of Deadflames are researched, Fire Arrows ability should be removed from Burning Archer but not only from existing ones but from those which will be trained later too. And I really don't have idea how to do this... I mean, removing ability after research from existing ones is easy but from next ones not...
Thanks.
 
you could do it by having two burning archers, one with fire arrows the other with arrows of deadflames, and then do an upgrade similar to the orc berserker upgrade.
You will then need to copy
an ability called berserker upgrade and and set the new unit to Burning archer (with dead flames) and set its techtree dependencies to your upgrade. and then give your new Berserker upgrade ability to the burning archers.
 
@Ender
Rofl, you're genious. I didn't even think about this.
Solved.
 
Probably a better way to solve this is to give all abilities to your archer at start and disable your level 2,3,4 etc spells for wanted players at map initialization.
After doing that research make it so level 1 is disabled for the owner of resarching unit, and enable level 2, and so on...
 
Status
Not open for further replies.
Back
Top