• 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.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

Spell Book

Status
Not open for further replies.
Level 9
Joined
Aug 1, 2008
Messages
453
I was making a kind of proffesion System and i was wondering if it was possible to add anyspell you want to a spell book.

Like if you had spell book and you purchased a item and you wanted to add the spell to the spell book.
 
Level 7
Joined
Jul 18, 2009
Messages
272
It is possible, but you'll have to create a spellbook for each ability that you want to be addable.

You do it like this:

1) Create Spellbook 1. This is the spellbook-ability you'll see on the unit. Give your unit the ability Spellbook 1.
2) Create the ability you want to add.
3) Create Spellbook 2. It has to have the same order id as Spellbook 1. Add your ability to Spellbook 2.
4) Disable Spellbook 2 via the trigger "player - disable ability for player", so the icon won't show.
5) Now you can add Spellbook 2 to your unit via a trigger, and all the abilities from Spellbook 2 will show up in Spellbook 1, because they have the same order id.
 
Status
Not open for further replies.
Top