• 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 make!!! arrow spell book!!!?

Status
Not open for further replies.
Level 7
Joined
May 6, 2008
Messages
284
How i can make arrow book like ''u can choose 1arrow ability from these 3 Ice,Fire,Dark'' then the book fanish and the skill comes to ''hero abilities''
 
Level 2
Joined
Jul 12, 2008
Messages
34
Try this :

Create (for each type of spell) a dummy spell, for exaple Ice. Make it off Thunder Clap. Set every damage,aoe,manacost etc to zero and change icons etc. Make its Editor Name as Ice0 or whatever, so you can distinguish it from the actual spell that will be used. The real spell will have normal name. Now create a variable of type "unit" named LearningHero.
Add each dummy spell in the spellbook. Now create a trigger as such :

  • Spellbook trigger
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Ice0
    • Actions
      • Set LearningHero = (Casting unit)
      • Unit - Add Ice to LearningHero
Ice0 = dummy spell
Ice = Actual spell hero/unit will use
LearningHero = variable that picks the hero/unit that learns the ability.

Wish this helps.
 
Status
Not open for further replies.
Top