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

[Solved] How to add spell to spell book

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
1. Add every possible spells that you want the unit to possibly have it
2. Disable all the added spells in the spell book
3. When you want to add a new spell, simply;

  • Player - Enable YourAbility for (Triggering player)
4. This will make the spell to appear inside the spell book, provided that the spell is initially contains inside the spell book in Object Editor
 
Level 11
Joined
Nov 15, 2007
Messages
800
The peasant was for preloading purposes. It's just optimization. Some things will briefly lag the first time they're run, so if you run them at map initialization you can avoid it happening in the middle of the game.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Hammerfist, have you ever played DotA the warcraft 3 custom game ?

When you first pick the hero, the map will lag for awhile, more lag for Kael The Invoker because he has 10 sub skills which needed to be preload before using it

This is to prevent the lag on first cast making some players feel annoyed when they cast it and it lags

Better lag at picked hero, rather than ganking an enemy
 
Status
Not open for further replies.
Top