- Joined
- Jul 12, 2005
- Messages
- 764
Hi!
I have 2 questions:
1- How can i order my hero (with an ability of course) to teleport to the NEAREST enemy hero? I made an ability based on thunder clap, and reduced its data (AoE, damage, etc..) to 0. Then I tried to make a trigger to teleport my hero, but i don't know how to give the point of the nearest enemy hero...
2- The ability i seek acts this way: If its turned on, my hero morphs into a tree (like the destructible one) and gains an aura that damages nearby enemies. I couldn't get a unit, that has a tree model, so i did this way:
I based the ability on Burrow. The alternate form is my hero without a model file, so it becomes invisible when it is morphed. Then comes the trigger. When the ability is on, the trigger creates a tree in the position of the hero. But the problem is that the created tree is not exactly above my "invisible hero" in the game. And i couldn't add that aura to my hero.
i know it's a bit confusing but help me plz!!!
I have 2 questions:
1- How can i order my hero (with an ability of course) to teleport to the NEAREST enemy hero? I made an ability based on thunder clap, and reduced its data (AoE, damage, etc..) to 0. Then I tried to make a trigger to teleport my hero, but i don't know how to give the point of the nearest enemy hero...
2- The ability i seek acts this way: If its turned on, my hero morphs into a tree (like the destructible one) and gains an aura that damages nearby enemies. I couldn't get a unit, that has a tree model, so i did this way:
I based the ability on Burrow. The alternate form is my hero without a model file, so it becomes invisible when it is morphed. Then comes the trigger. When the ability is on, the trigger creates a tree in the position of the hero. But the problem is that the created tree is not exactly above my "invisible hero" in the game. And i couldn't add that aura to my hero.
i know it's a bit confusing but help me plz!!!