- Joined
- Mar 23, 2008
- Messages
- 942
I want to make a spell that after you cast, you run to the enemy at max speed and them attack him dealing a bonus damage.
But I don't know how to:
1- Make the player unable to control the hero in the middle of the spell
2- Return the speed to normal after the spell end
3- Detect if the enemy has out of sight and them stop running
4- Detect if its impossible to walk to the opponent and stop (wall or whatever)
Someone can help me?
But I don't know how to:
1- Make the player unable to control the hero in the middle of the spell
2- Return the speed to normal after the spell end
3- Detect if the enemy has out of sight and them stop running
4- Detect if its impossible to walk to the opponent and stop (wall or whatever)
Someone can help me?