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

Ability gain depending on attack type. Help.

Status
Not open for further replies.
Level 4
Joined
Mar 6, 2007
Messages
73
I want to have a trigger that make : when a hero is create, he gain an ability depending of is attack type and hide the ability. Same thing for armor type. Thanks for ur answers.
 
Level 19
Joined
Nov 16, 2006
Messages
2,165
U need to define the units before creating.
When creating, a trigger has to detect the unit created (defined)
and then adding the special ability.
Create a spellbook, add your ability in it and then create a trigger which disables the spellbook.
In this way it might work.
 
Level 4
Joined
Mar 6, 2007
Messages
73
Heero, its my first map and i dont get what you are explaining sry. Can you make an exemple plz.
 
Level 4
Joined
Mar 6, 2007
Messages
73
I think I got a solution. It will be longer but ill had my abilities manualy to my units and hide them with a disabling trigger. But thx :D
 
Status
Not open for further replies.
Top