Hello to everyone, i'm Fyuran and i'm really happy to be in this forum!
I'm afraid i need your help with a trigger i'm making for a Dummy Spell
Basically i cast the main spell(Purify in this case) which spawns a Dummy right on the attacked unit and begins to cast my custom-made Blizzard spell.
But here comes the problem:
-First the dummy won't spawn on the unit i've attacked, but it spawns on the unit which is attacking (The triggering unit of the event) also, it doesn't obey to my trigger at all, it just stands there until the expiration timer kills him.
-Second i can't issue the dummy to use a custom-made spells, there are only pre-built spells on the list.
Anyway here's the GUI trigger, if something is different from yours, i'm sorry it's because my Warcraft 3 is not english, I'll try to explain the wrong stuff in english as much as i can.
I'm afraid i need your help with a trigger i'm making for a Dummy Spell
Basically i cast the main spell(Purify in this case) which spawns a Dummy right on the attacked unit and begins to cast my custom-made Blizzard spell.
But here comes the problem:
-First the dummy won't spawn on the unit i've attacked, but it spawns on the unit which is attacking (The triggering unit of the event) also, it doesn't obey to my trigger at all, it just stands there until the expiration timer kills him.
-Second i can't issue the dummy to use a custom-made spells, there are only pre-built spells on the list.
Anyway here's the GUI trigger, if something is different from yours, i'm sorry it's because my Warcraft 3 is not english, I'll try to explain the wrong stuff in english as much as i can.
Trigger:
- DummySpell
- Events
- Event - A unit begins the effect of a spell
- Conditions
- (Ability being cast) equals to Purify
- Actions
- set DummyTarget = (Attacked Unit)
- set DummyLoc = (Position of DummyTarget)
- Unit - Create 1 Dummy for (Triggering Player) at DummyLoc facing (position of DummyTarget)
- set Dummy = (last created Unit)
- Unit - add a 20.00 second General Expiration Timer
- Unit - Order Dummy to Neutral - "default spell for debug purposes" DummyTarget
- Events