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
And ty for help.
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
And ty for help.