• 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.

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