I thought of a neat trigger in which a hero could jump up and stomp on an opponent's head. The problem is I don't know how to get the height changed without making the hero have Flying movement type
This is what I've got thus far:
This trigger only works if I give the hero Flying movement type. I don't want him to fly over walls and cheat in the game etc. I cruised all the triggers but didn't find a solution.
This is what I've got thus far:
Code:
Unit - A unit Begins casting an ability
(Ability being cast) Equal to Jump Attack
Animation - Change (Casting unit) flying height to 300.00 at 1000.00
Wait 0.25 seconds
Animation - Change (Casting unit) flying height to 0.00 at 1000.00
Special Effect - Create a special effect at (Position of (Target unit of ability being cast)) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Game - Display to (All players) the text: Wah Hah!