• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How to add/remove availability of a Hero skill?

Status
Not open for further replies.
Level 5
Joined
May 5, 2007
Messages
120
For Survival mode, we plan on having a standard "attribute bonus" skill. For versus mode, we don't. So how can we add the skill to the Hero's choices of levelable abilities if they pick survival? OR if we add it to all the Heroes, how do we remove it if they chose versus mode? We only need one or the other.
 
Level 8
Joined
May 13, 2007
Messages
392
Simple as ever.

--=== This one is only if you dont add the ability to the heroes in the beggining ===--
Event - (the trigger that picks the survival)
Conditions -
Actions
- Pick every unit group (or something to pick all heroes only)
- Add Attribute Bonus ability to Picked Units

Versus mode

Events - (the trigger that picks the versus mode)
Conditions -
Actions -
- Pick every unit group (or something to pick all heroes only)
- Remove Attribute Bonus ability from picked unit
 
Level 3
Joined
May 4, 2007
Messages
66
Or simply make all heroes have this ability and if it is versus mode then disable it for all players (Player - Disable Ability or smt like that)
 
Level 5
Joined
May 5, 2007
Messages
120
Well, actually the add ability doesn't work for adding abilities so the Hero can learn them... it just adds the 1st level of the ability already learned...
The Disable Ability trigger works. Thanks guys. :)
 
Status
Not open for further replies.
Top