Quote:
Originally Posted by darkrider
Bumping... this issue is really important... and i cant figure out a way to solve it... add ability and enable ability for player does not work either... :S
does anybody have an idea of what could be wrong? or how can i change it to achieve the same effect?
help will be appreciated
BTW: when a hero learns this kind of ability i have a trigger that fires when he learns the orb of lightnin ability... but the trigger doesnt fire at all... it doesnt recognize either my orb of lightning ability nor the storm bolt it uses as an effect :S
|
Hmm, post the trigger so we can see if there is anything wrong with it.
Anyway, I've had this problem in my map(with the orb transforming thing).
I tried Player - Enable <x> ability, didn't work.
However, I don't think I tried removing the ability and readding the ability via triggers.
Try a trigger which stores the level of the Orb of Lightning Ability in an "integer variable" when the hero learns or levels up the skill.
Then, when the unit transforms, remove the ability, then re add the ability to the unit.
Then, set the level using the variable that stored the original level of the ability.
Also make it so that when you relearn the ability again, it removes the ability then re adds it again.
Not sure if you can add orb of lightning abilities to a unit via triggers, but if you can, this should work.
If you don't know what I meant with the triggers, I can do the trigger for you(can't right now though).