Hey guys
In my game units pick up spells that they can cast once, when the spell it cast the ability is removed.
So since you can have any different combination of abilities i want to make a trigger that will set the hotkey of a spell based on the number of spells the unit already has.
So if the unit doesnt have a spell, it will make the new spell's hotkey Q if the unit has 2 spells it will make the new spell's hotkey E
In short : I need some script to change the hotkey of an ability only for a specific unit.
(+rep and have your name mentioned under 'special credits' in my map if you can give the solution)
In my game units pick up spells that they can cast once, when the spell it cast the ability is removed.
So since you can have any different combination of abilities i want to make a trigger that will set the hotkey of a spell based on the number of spells the unit already has.
So if the unit doesnt have a spell, it will make the new spell's hotkey Q if the unit has 2 spells it will make the new spell's hotkey E
In short : I need some script to change the hotkey of an ability only for a specific unit.
(+rep and have your name mentioned under 'special credits' in my map if you can give the solution)