• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[Spell] Spellbook issue

Status
Not open for further replies.
Level 6
Joined
Oct 1, 2012
Messages
166
Hello people!

I have one strange problem with spellbooks I can't solve. Let me describe it in a few words.

I am making a map with heroes skills of whom work much like those of Diablo 3 characters, so one has 4 shortcuts where they can put a skill and they can change it whenever they like. This works by opening a spellbook-like skill which brings an interface with 3 passive skills and 4 skills which let the character change his active skills. By clicking on one of icons, game selects a dummy unit for player, the unit which has dummy skills, which, after being used, are given to the hero.

Now, the problem is, that when I use a skill selecting a dummy unit, the unit has no skills. I came to the conclusion, by numerous tests, that the game leaves the spellbook-like skill open even for the dummy unit. And there are no spells showing since the dummy has no spellbook-skill of the given ID.

Now here's my question - does anybody know how to make the spellbook close itself after using a skill from it? I couldn't find it in the Object Editor, nor in Trigger Editor, yet I hope there is a way. If not, does anybody have any solutions to this?

I hope my post was understandable :D

And ty for help.
 
Level 6
Joined
Oct 1, 2012
Messages
166
Well, not quite.
I know, that my description was not too clear, yet, let me get it somewhat more straight.
The thing is, using a dummy-picking spell from a spellbook, for some reason, opens the spellbook of given ID for the dummy aswell, even, if the dummy doesn't have one.
If anybody has the same problem, I overcame it by making another dummy instead of a spellbook.
 
Level 4
Joined
Mar 23, 2009
Messages
78
actually you can make a shortcut (hotkey) for a spellbook ability and use ForceUIKey(...).
 
Status
Not open for further replies.
Top