Hello there, recently I've been facing an issue with a unit not being able to cast a spell, I've searched throughout wc3 related websites and I've only found this only function to order a unit to cast a spell. The problem in other words is that the spell in not cast despite the conditions being met.
Coding is as follows:
Note that I already specified the order string of the spell:
I already tested to cast the spell as a player and it works but when I try to make a unit out of my control do it, it doesn't work. Any help is appriciated!
Coding is as follows:
Note that I already specified the order string of the spell:
I already tested to cast the spell as a player and it works but when I try to make a unit out of my control do it, it doesn't work. Any help is appriciated!