Hello. I am making a map where an ability allows the user to blast a certain small area. The problem being the trigger dosent work. It will shoot off one attack (The attack being a breath of fire) but thats it. Can anyone tell me what is wrong or if i can even do this at all?
Fire Ice Tunnel
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Flame/Ice Tunnel
Actions
Set AATriggerPoint = (Target point of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Casting unit)) Equal to Mountain King
Then - Actions
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Facing of (Casting unit)) degrees
Unit - Make (Last created unit) face AATriggerPoint over 0.00 seconds
Set AATriggerUnit[1] = (Last created unit)
Unit - Add a 10.00 second Generic expiration timer to AATriggerUnit[1]
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[1]) offset by 175.00 towards ((Facing of AATriggerUnit[1]) + 90.00) degrees) facing Default building facing degrees
Unit - Make (Last created unit) face AATriggerPoint over 0.00 seconds
Set AATriggerUnit[2] = (Last created unit)
Unit - Add a 10.00 second Generic expiration timer to AATriggerUnit[2]
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[1]) offset by 175.00 towards ((Facing of AATriggerUnit[1]) - 90.00) degrees) facing Default building facing degrees
Unit - Make (Last created unit) face AATriggerPoint over 0.00 seconds
Set AATriggerUnit[3] = (Last created unit)
Unit - Add a 10.00 second Generic expiration timer to AATriggerUnit[3]
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[2]) offset by 250.00 towards (Facing of AATriggerUnit[2]) degrees) facing ((Facing of AATriggerUnit[2]) - 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[3]) offset by 500.00 towards (Facing of AATriggerUnit[3]) degrees) facing ((Facing of AATriggerUnit[3]) + 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[2]) offset by 500.00 towards (Facing of AATriggerUnit[2]) degrees) facing ((Facing of AATriggerUnit[2]) - 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[3]) offset by 500.00 towards (Facing of AATriggerUnit[3]) degrees) facing ((Facing of AATriggerUnit[3]) + 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[2]) offset by 500.00 towards (Facing of AATriggerUnit[2]) degrees) facing ((Facing of AATriggerUnit[2]) - 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Else - Actions
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Flame/Ice Tunnel
Actions
Set AATriggerPoint = (Target point of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Casting unit)) Equal to Mountain King
Then - Actions
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Facing of (Casting unit)) degrees
Unit - Make (Last created unit) face AATriggerPoint over 0.00 seconds
Set AATriggerUnit[1] = (Last created unit)
Unit - Add a 10.00 second Generic expiration timer to AATriggerUnit[1]
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[1]) offset by 175.00 towards ((Facing of AATriggerUnit[1]) + 90.00) degrees) facing Default building facing degrees
Unit - Make (Last created unit) face AATriggerPoint over 0.00 seconds
Set AATriggerUnit[2] = (Last created unit)
Unit - Add a 10.00 second Generic expiration timer to AATriggerUnit[2]
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[1]) offset by 175.00 towards ((Facing of AATriggerUnit[1]) - 90.00) degrees) facing Default building facing degrees
Unit - Make (Last created unit) face AATriggerPoint over 0.00 seconds
Set AATriggerUnit[3] = (Last created unit)
Unit - Add a 10.00 second Generic expiration timer to AATriggerUnit[3]
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[2]) offset by 250.00 towards (Facing of AATriggerUnit[2]) degrees) facing ((Facing of AATriggerUnit[2]) - 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[3]) offset by 500.00 towards (Facing of AATriggerUnit[3]) degrees) facing ((Facing of AATriggerUnit[3]) + 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[2]) offset by 500.00 towards (Facing of AATriggerUnit[2]) degrees) facing ((Facing of AATriggerUnit[2]) - 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[3]) offset by 500.00 towards (Facing of AATriggerUnit[3]) degrees) facing ((Facing of AATriggerUnit[3]) + 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Wait 0.20 game-time seconds
Unit - Create 1 Dummy Caster 2 (Ground) for (Owner of (Casting unit)) at ((Position of AATriggerUnit[2]) offset by 500.00 towards (Facing of AATriggerUnit[2]) degrees) facing ((Facing of AATriggerUnit[2]) - 90.00) degrees
Unit - Set level of Flame Tunnel Attack for (Last created unit) to (Level of Flame/Ice Tunnel for (Casting unit))
Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of (Last created unit)) offset by 150.00 towards (Facing of (Last created unit)) degrees)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Else - Actions