- Joined
- Sep 11, 2013
- Messages
- 557
Greetings!
I am happy to say that I am almost ready to finish my new [TAG] map and to upload it on Hive! I think this project will be ready in maybe 1-2 weeks thanks to your awesome help.
So.. back to the problem.. : )
I have this Impulsive Fire - 2025(Shockwave) spell that create a dummy that cast (Breath of Fire) and this trigger work great as long as I target the enemy or the ground with my shockwave.
As you can see in the image below, when I cast on myself, the dummy appears on the right, not in front of my hero.
I wish that, when I cast the spell on myself, the dummy must appear, just like when I cast the spell on the ground/enemy (in front of my hero's face, offset by 100 range.)
I don't know how I can do that..
I attached the test map below.
The help will be appreciated!

I am happy to say that I am almost ready to finish my new [TAG] map and to upload it on Hive! I think this project will be ready in maybe 1-2 weeks thanks to your awesome help.
So.. back to the problem.. : )
I have this Impulsive Fire - 2025(Shockwave) spell that create a dummy that cast (Breath of Fire) and this trigger work great as long as I target the enemy or the ground with my shockwave.
-
Impulsive Fire
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Impulsive Fire - 2025
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Target unit of ability being cast) Equal to No unit
-
-



Then - Actions
-




Set VariableSet ImpulsiveFirePoint[1] = ((Position of (Triggering unit)) offset by 100.00 towards (Angle from (Position of (Triggering unit)) to (Target point of ability being cast)) degrees.)
-




Set VariableSet ImpulsiveFirePoint[2] = (Target point of ability being cast)
-




Set VariableSet ImpulsiveFire_Angle = (Angle from (Position of (Triggering unit)) to ImpulsiveFirePoint[2])
-




Game - Display to (All players) the text: 1 GROUND
-
-



Else - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Target unit of ability being cast) Not equal to (Triggering unit)
-
-





Then - Actions
-






Set VariableSet ImpulsiveFirePoint[1] = ((Position of (Triggering unit)) offset by 100.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Target unit of ability being cast))) degrees.)
-






Set VariableSet ImpulsiveFirePoint[2] = (Position of (Target unit of ability being cast))
-






Set VariableSet ImpulsiveFire_Angle = (Angle from (Position of (Triggering unit)) to ImpulsiveFirePoint[2])
-






Game - Display to (All players) the text: 2. UNITS/BUILDINGS
-
-





Else - Actions
-






Set VariableSet ImpulsiveFirePoint[1] = ((Position of (Triggering unit)) offset by 100.00 towards (Angle from (Position of (Triggering unit)) to (Position of (Target unit of ability being cast))) degrees.)
-






Set VariableSet ImpulsiveFire_Angle = (Facing of (Triggering unit))
-






Game - Display to (All players) the text: 3. SELF
-
-
-
-
-


Game - Display to (All players) the text: works1
-


Unit - Create 1 Impulsive Fire Dummy 1 for (Owner of (Triggering unit)) at ImpulsiveFirePoint[1] facing ImpulsiveFire_Angle degrees
-


Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-


Unit - Add Impulsive Fire - DUMMY to (Last created unit)
-


Unit - Set level of Impulsive Fire - DUMMY for (Last created unit) to (Level of Impulsive Fire - 2025 for (Triggering unit))
-


Unit - Order (Last created unit) to Neutral Brewmaster - Breath Of Fire ImpulsiveFirePoint[1]
-


Custom script: call RemoveLocation(udg_ImpulsiveFirePoint[1])
-


Custom script: call RemoveLocation(udg_ImpulsiveFirePoint[2])
-
-
As you can see in the image below, when I cast on myself, the dummy appears on the right, not in front of my hero.
I wish that, when I cast the spell on myself, the dummy must appear, just like when I cast the spell on the ground/enemy (in front of my hero's face, offset by 100 range.)
I don't know how I can do that..
I attached the test map below.
The help will be appreciated!

