I want my unit to play animation while casting a spell, it works but player can move unit to cancel the animation...
-
Untitled Trigger 002
-
Events
- Unit - A unit Begins casting an ability
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to Hot Blooded
-
Then - Actions
- Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Unit - Order (Triggering unit) to Stop
- Animation - Play (Triggering unit)'s Stand Channel animation
- Player - Set (Owner of (Triggering unit)) Current gold to 120
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events