- Joined
- Nov 20, 2011
- Messages
- 202
Background:
You can add a spell to a spellbook by putting the spell into a dummy spellbook with the same order ID. Afterward, you only need to disable the dummy spellbook and add it to the unit. For more information, see:
http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/mysteries-spellbook-33039/
The main issue with this method is that the UI position of the added spell is ignored. So if you have the following abilities (identified by their hotkeys): Q, W, E, R, and you add them in the right order via trigger, the icons will jump to random positions. If your R spell is on the left and the Q one is on the right, this can be really frustrating!
Is there a way to set the spell's position?
The solution is an invisible placeholder dummy spell. As for the base of the dummy spell, you can use anything. This dummy spell will need to be disabled for all players.
Now you can set the spell's position easily. You just need to add the placeholder dummy ability to the dummy spellbook as many times you need it. If your spell should appear in slot 6, just add the placeholder 5 times and then the main ability:
In-game result:
If you try to use slot 12 by moving the Cancel button somewhere else, you will fail because spellbooks are designed for just 11 spells.
So is there a way to use slot 12?
The answer is yes, but it is not a perfect method as you can just use slot 12 if slot 11 is already occupied.
To place your spell in slot 12, you need to configure the spellbook similar to how you would configure it for slot 11. Now you have 2 spellbooks that use slot 11. The spellbook of the ability, which is supposed to appear in slot 12, will be added last.
In-game result:
I hope I could help you!
You can add a spell to a spellbook by putting the spell into a dummy spellbook with the same order ID. Afterward, you only need to disable the dummy spellbook and add it to the unit. For more information, see:
http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/mysteries-spellbook-33039/
The main issue with this method is that the UI position of the added spell is ignored. So if you have the following abilities (identified by their hotkeys): Q, W, E, R, and you add them in the right order via trigger, the icons will jump to random positions. If your R spell is on the left and the Q one is on the right, this can be really frustrating!
Is there a way to set the spell's position?
The solution is an invisible placeholder dummy spell. As for the base of the dummy spell, you can use anything. This dummy spell will need to be disabled for all players.
Now you can set the spell's position easily. You just need to add the placeholder dummy ability to the dummy spellbook as many times you need it. If your spell should appear in slot 6, just add the placeholder 5 times and then the main ability:
In-game result:
If you try to use slot 12 by moving the Cancel button somewhere else, you will fail because spellbooks are designed for just 11 spells.
So is there a way to use slot 12?
The answer is yes, but it is not a perfect method as you can just use slot 12 if slot 11 is already occupied.
To place your spell in slot 12, you need to configure the spellbook similar to how you would configure it for slot 11. Now you have 2 spellbooks that use slot 11. The spellbook of the ability, which is supposed to appear in slot 12, will be added last.
In-game result:
I hope I could help you!
Attachments
Last edited: