• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Is there a way to remove teh spell book from the hero?

Status
Not open for further replies.
Level 20
Joined
Aug 13, 2013
Messages
1,696
After the integer counter reaches 3 then remove the spellbook ability

Edit:
Store the 12 abilities of the spellbook into ability array variable.
Create a trigger event: Hero learns skill
Check condition: Loop through the stored abilities then increase integer counter by 1 and create another condition if the integer counter is equal to 3 then remove the spellbook ability.
 
Last edited:
Level 24
Joined
Aug 1, 2013
Messages
4,657
That is not called a spell book.
Those are just the hero abilities.
As mentioned by jakeZinc, just have an integer counting up to 3.
Whenever it reaches 3, you remove all spells that havent been learned.
The Hero Ability tab is removed as soon as the hero has learned all his abilities to the maximum level.
 
Status
Not open for further replies.
Top