- Joined
- Dec 19, 2016
- Messages
- 8
I've tried to make this spell lift the units in front of the hero, then damage them and put them back down. But instead of putting them back down, they just floated up, paused, and stayed there. Any help?
-
Untitled Trigger 020
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to [G]ravity Trap
-
-
Actions
-
Set GT_caster = (Casting unit)
-
Animation - Play GT_caster's spell animation
-
Set GT_Loc = (Position of GT_caster)
-
Set GT_Real_1 = (Facing of GT_caster)
-
Set GT_Group = (Units within 800.00 of GT_Loc matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of GT_caster)) Equal to True)))
-
Unit Group - Pick every unit in GT_Group and do (Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in GT_Group and do (Actions)
-
Loop - Actions
-
Set GT_Loc2 = (Position of (Picked unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Cos((GT_Real_1 - (Angle from GT_Loc2 to GT_Loc)))) Greater than (Cos(90.00))
-
((Attacked unit) is in Immune) Equal to False
-
-
Then - Actions
-
Trigger - Turn on Untitled Trigger 016 <gen>
-
Unit - Pause (Picked unit)
-
Unit - Add Crow Form to (Picked unit)
-
Unit - Remove Crow Form from (Picked unit)
-
Animation - Change (Picked unit) flying height to 120.00 at 160.00
-
Countdown Timer - Start GT_time as a One-shot timer that will expire in 1.00 seconds
-
Trigger - Turn on Untitled Trigger 021 <gen>
-
-
Else - Actions
-
-
Unit Group - Remove (Picked unit) from GT_Group
-
Custom script: call RemoveLocation(udg_GT_Loc)
-
-
-
-
-
Wait 2.00 seconds
-
Custom script: call RemoveLocation(udg_GT_Loc)
-
Custom script: call DestroyGroup(udg_GT_Group)
-
-
-
Untitled Trigger 021
-
Events
-
Time - GT_time expires
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in GT_Group and do (Actions)
-
Loop - Actions
-
Unit - Cause GT_caster to damage (Picked unit), dealing 5000.00 damage of attack type Hero and damage type Normal
-
Unit - Add Crow Form to (Picked unit)
-
Unit - Remove Crow Form from (Picked unit)
-
Animation - Change (Picked unit) flying height to 0.00 at 1500.00
-
Countdown Timer - Start GT_time2 as a One-shot timer that will expire in 0.50 seconds
-
Trigger - Turn off (This trigger)
-
-
-
-
-
Untitled Trigger 022
-
Events
-
Time - GT_time2 expires
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in GT_Group and do (Actions)
-
Loop - Actions
-
Unit - Cause GT_caster to damage (Picked unit), dealing 8000.00 damage of attack type Hero and damage type Normal
-
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Unpause (Picked unit)
-
Trigger - Turn off Untitled Trigger 016 <gen>
-
Trigger - Turn off (This trigger)
-
-
-
-
-
Untitled Trigger 016
-
Events
-
Time - Every 0.25 seconds of game time
-
-
Conditions
-
Actions
-
Special Effect - Create a special effect at GT_Loc using Abilities\Spells\Human\FlameStrike\FlameStrikeTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
-