HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Damned spellbok!

05-07-2004, 04:56 PM#1
Cacodemon
I created spellbook and filled it with custom spells created from one spell. When any of these spells is selected in the game, all other spells are also selected. How can I avoid this?

P.S. I need a lot of 'dummy' spells to detect user cast them. When one of this spells is cast, a lot of "UNIT_CAST_SPELL" events are generated... Is there another way? I cant' fill spellbok with custom spells created from different original spells because of quantity of original spells matching my conditions is too small...
05-07-2004, 06:15 PM#2
Armel
I guess it's because all of your spells, being based of the same original spell, use the same value for the field "text-chain order" (I hope that's the right translation, in French it's Texte-ordre chaînes ), so when you tell the unit to launch one spell, as all spells use the same order, you tell the unit to lauch all these spells at once. So all you have to do is give each of your spells a different value for this field .
Hope I have made myself clear.
05-07-2004, 08:00 PM#3
35263526
Quote:
Originally Posted by Armel
I guess it's because all of your spells, being based of the same original spell, use the same value for the field "text-chain order" (I hope that's the right translation, in French it's Texte-ordre chaînes ), so when you tell the unit to launch one spell, as all spells use the same order, you tell the unit to lauch all these spells at once. So all you have to do is give each of your spells a different value for this field .
Hope I have made myself clear.

Correct, but unfortunately, that field is bugged, it doesn't work for anything. Your only option is to use different spells for each custom.
05-08-2004, 01:43 PM#4
Cacodemon
Thank you for replying.
05-08-2004, 10:03 PM#5
weaaddar
I've been working on an alternative to blizzards crappy spellbook. My spellbook isn't complete but hey its worth using if your inclined for a fun adventure. Its somewhere in that repository.