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

[Trigger] Skill Hybrid

Status
Not open for further replies.
Level 3
Joined
Sep 20, 2007
Messages
30
Is anyone knows how can i make this abilty?
First i have 10 leveled 'Impale', but when i've learned them all, i can learn 'Mega-Impale' skill which based on other skill (sorry, that's what i called 'Skill Hybrid' ^^). Please help...
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
The only thing I can think of is (I don't remember if there is an event for learning a skill), otherwise you can add the event:

Every 0.3 seconds of game time
Conditions: (Integer comparison) Number of levels for skill of type Impale (or was it N of levels for (Impale)) .. equal to 10, (choose your hero by selecting on the map or with an event that happens in the very beginning with your hero add a set variable - unit (your hero), to have smth that knows what the unit is and use this variable in the condition if you need to point out your hero),
(OR If your hero can learn only this ability and you always get lvl 10 Impale at say lvl 10 hero you can use the C: Hero level equal to 10)

A: If you want after 10 skills of Impale to have a new skill that will replace Impale, just use:
- Unit ability - Remove Impale
- Unit ability - Add (new skill)
- Trigger - Turn off (this trigger) - once it happens to stop, there's nothing to turn it on again

Or if you want to keep the old, just no "Unit ability - Remove Impale"
 
Status
Not open for further replies.
Top