Having never used spellbooks before, I'm completely in the dark. But its in the units' UI if that helps. They also have 5 other spells.
Ok the problem is that It won't show all 5 spells I've stocked into the spellbook (the normal ones work fine). Rather, it will only show a random number of them; and yes I set the icon placement correctly. Thanks for any help I receive.
its 12, shouldn't that mean you can have 11 or less? (since one is cancel). So far it just shows a random 2 out of the 4 (I removed one).
Idk if this has anything to do with it, but it's a unit spellbook on a hero, and the spells in the spellbook are unit spells.
It doesnt have to be the same.
What you are saying is just like saying that GetRandomInt(min,max) is bugged since you have to use the same number for min and max if you want it too always give you the same number.
No, because GetRandomInit is supposed to give you a random number.
However, spellbook should be coded so that it actually uses the min/max values correctly.