• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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