Warcraft III resources & community, 2003–2006 · archived

2 spellbooks instead of 1....

5 posts
#1

2 spellbooks instead of 1....

I made two spellbooks (Ex: Jutsu Spellbook and a Elemental Spellbook)
But once i gave the jutsu spellbook a thorns aura, and the elemental spellbook water elemental..... then i gave both spellbooks to the hero... but in the game both spells have both spells...


-Don0ndrew aka. TheDon
#2

Mess up on the first

I made two spellbooks (Ex: Jutsu Spellbook and a Elemental Spellbook)
I gave the jutsu spellbook a thorns aura, and the elemental spellbook water elemental..... then i gave both spellbooks to the hero... but in the game both spellbooks have both spells...


-Don0ndrew aka. TheDon
#3
probably the orderstrings for the spellbooks. spellbooks are nasty pieces of code.
#4
Open your Object Editor...

You will see Base Order ID above... Learn Tooltip... or somewhere in the ability editor(the Place you can change name of the ability and so on)

Make it different between Jutsu Spellbook's Base Order ID and Elemental Spellbook's Base Order ID

Example :
Jutsu Spellbook's Base Order ID and Elemental Spellbook's Base Order ID suppose to be `spellbook'
then change one of the Spellbook's Base Order ID into... whatever you want, it doesn't matter, just make it different...

Here's the screenshots :
http://img213.imageshack.us/img213/8980/blablapb1.th.jpg
#5
I use the Creep Order IDs for my spellbooks.

If two spellbooks use the same Order ID then they share spells, which is really cool if you want to make it so you can get extra spells into your spell book later, such as buying spells from someone, make it so it gives you another spellbook using the same ID as one of the other main spellbooks, and then hide the new spellbook from the user, and the new spell will show in your main book, brilliant stuff really.