Hey, I'm making a map in which the player will choose what spells he/she wants to use from over 20 different spells per class. That said, I don't think I'll be able to assign unique hotkey for every spell in the game, and even if I did it wouldn't be comfortable to play with.
I just wondered if it's somehow possible to change the hotkey of a skill with GUI/JASS, so when player chooses to use set of 4 spells, the spells will always align to QWER/ZXCV or something like that.
I have an idea that I think will work but that would be more complex than I would like it to be
My way would be:
1. Create spells based on chanel that would have Q, W, E, R assigned as their hotkeys.
2. When player choses what spell he wants to use: Use triggers to change icon, tooltip, cooldown and so on of the for example QSpell to desired values
3. Set a Variable for example "Fireball" = QSpell
First of all do you think there is an easier way?
Second - do you think the way presented above will work if nothing else will?
Thanks in advance, and sorry if I'm not seeing something obvious somewhere in the editor.
I just wondered if it's somehow possible to change the hotkey of a skill with GUI/JASS, so when player chooses to use set of 4 spells, the spells will always align to QWER/ZXCV or something like that.
I have an idea that I think will work but that would be more complex than I would like it to be
My way would be:
1. Create spells based on chanel that would have Q, W, E, R assigned as their hotkeys.
2. When player choses what spell he wants to use: Use triggers to change icon, tooltip, cooldown and so on of the for example QSpell to desired values
3. Set a Variable for example "Fireball" = QSpell
First of all do you think there is an easier way?
Second - do you think the way presented above will work if nothing else will?
Thanks in advance, and sorry if I'm not seeing something obvious somewhere in the editor.