- Joined
- Sep 17, 2004
- Messages
- 278
Here's an old trigger I used to make "Charge" for my warrior hero.
-
Warrior Charge Action
-

Events
-


Unit - A unit Begins casting an ability
-
-

Conditions
-


(Ability being cast) Equal to Charge (Test)
-
-

Actions
-


Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Human\Invisibility\InvisibilityTarget.mdl
-


Set SpecialFX = (Last created special effect)
-


Trigger - Run Special Effect Destruction <gen> (ignoring conditions)
-


Sound - Play WarriorHeroricLeap <gen> at 100.00% volume, located at (Position of (Triggering unit)) with Z offset 1500.00
-


Set Stored_Unit[(Player number of (Owner of (Triggering unit)))] = (Target unit of ability being cast)
-


Wait 0.15 game-time seconds
-


Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (Real(((Level of Charge (Test) for (Triggering unit)) x 1))) damage of attack type Hero and damage type Normal
-
-