So I had a lot of help but this trigger still isn't working. Im trying to make all units around the Casting unit fly. What is my mistake here? I had suggestions to use impale but that is not the effect I want.
Copying this and you will see that nothing will happen to the units.
Copying this and you will see that nothing will happen to the units.
-
Dwarf WarStomp
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Unit-type of (Casting unit)) Equal to Dwarf
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Ability being cast) Equal to War Stomp
-
-
Then - Actions
-
Set Victim = (Units within 300.00 of (Position of (Casting unit)))
-
Unit Group - Pick every unit in Victim and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Picked unit)) Not equal to (Owner of (Casting unit))
-
-
Then - Actions
-
Unit - Add Crow Form to (Picked unit)
-
Animation - Change (Picked unit) flying height to 1000.00 at 1.00
-
Unit - Pause (Picked unit)
-
Game - Display to (All players) the text: hhh
-
-
Else - Actions
-
-
-
-
Wait 1.00 seconds
-
Unit Group - Pick every unit in Victim and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Picked unit)) Not equal to (Owner of (Casting unit))
-
-
Then - Actions
-
Animation - Change (Picked unit) flying height to 0.00 at 1.00
-
Unit - Remove Crow Form from (Picked unit)
-
Unit - Unpause (Picked unit)
-
Game - Display to (All players) the text: ggg
-
-
Else - Actions
-
-
-
-
-
Else - Actions
-
-
-