- Joined
- Jun 21, 2013
- Messages
- 116
Is there any way to remove all abilities from unit without doing Unit - Remove Ability for every single one of them?
You can remove all abilities in the object editor. No need to even use any trigger script.
I don't mean remove them completely. I have a vampire that has ability to turn other units into vampires and it needs to remove existing abilities so I can replace them with vampire ones.
But he might want to keep the model, the unit stats, the attack damage for example, etc.
when a hero learns an ability , store it in a variable or (handle) , thus you can remove it later...without replacing...