Spellbook issues

millz-

New Member
Reaction score
25
spell1 spell2 spell3 spell4
spell5 spell6 spell7 spell8
blank blank blank cancel

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?
 
This does not need to be in Jass help, All you have to do is have a separate spellbook, remove the current spellbook, and add the new spellbook.
 
Do you mean a specific spellbook for every spell in the parent spellbook, or create a total new spellbook with all the same spells?

Edit: Actually I thought this could only be done with JASS that's why.
 
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.
 
Create one spell book without any spells.

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 :p

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.

Really neat. :)
 
I said spells, not spellbooks... You're technically glitching it with spellbooks.
 
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? :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top