In this spell book, I have those spells listed as an example. How do I remove a certain ability, example spell6, then add another ability which will replace the position of spell6?
You have one spellbook with a variant of the spells, Spellbook A, and another with yet another variant of the spells from A, Spellbook B.
If the unit initially has Spellbook A, and you want to make it look like Spell X was removed, make Spellbook B have the same exact spells except for the replacement of Spell X.
That would be like hard coding millions of possibilities if I had like 100 spells to swap with ~_~
What I wanted to know is how to effectively make spells in a spellbook have fixed position, or how to put a spell into a spellbook in that particular position
It's impossible to remove or add spells to a spellbook I think. I'm not too sure about disabling/enabling them though. It probably doesn't work either, not sure.
Then for each spell that you want to be able to have in that spellbook, create a _new_ spellbook with the same order id as the first one, add the spell to that book (in the spell editor), disable the book for all players (with triggers).
Now when you want to add/remove a spell to the first book simply add/remove the spellbook that contains that spell.
Dunno if you can use this to maintain spell position. Was a long time ago since I tested this
Otherwise you could always try to experiment with the engineering upgrade, it's kinda magical when it comes to ability tricks.
>It's impossible to remove or add spells to a spellbook I think.
phyrex1an nailed it. Spellbooks have a bug where if you have multiple spellbooks on one unit with the same order id, and only one is enabled for that player, and the rest are disabled, it stacks them into that one spellbook.
I have gotten it to work now, it was lame but I had to add all abilities, remove them, then re-add that certain set of abilities. After that, when I remove one of them and add another, its position will be where it's supposed to be.
Are you adding them to the spellbook with a trigger? Or are you glitching it as Jesus4Lyf said? - I think they show up in the order you add them right?
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.