Hello...
For some reason, the following problems are occurring with this trigger:
-Multiples of the units are being created when the stalker is attacked from units with a fast attack speed. The new created unit is called "string default" and is not removed.
-the dummy unit does not cast the ability onto the attacking unit
I know it's a little sloppy right now, I intend to clean it up later--but the basic functionality of it should be working right now. Unit data is set properly with the Dummy Unit and the Ability.
What's wrong with this? Thanks!
For some reason, the following problems are occurring with this trigger:
-Multiples of the units are being created when the stalker is attacked from units with a fast attack speed. The new created unit is called "string default" and is not removed.
-the dummy unit does not cast the ability onto the attacking unit
I know it's a little sloppy right now, I intend to clean it up later--but the basic functionality of it should be working right now. Unit data is set properly with the Dummy Unit and the Ability.
What's wrong with this? Thanks!
Trigger:
- Top side Copy
- Events
- Unit - A unit owned by Player 8 (Pink) Is attacked
- Conditions
- ((Unit-type of (Attacked unit)) Equal to Stalker (|cff00a800Unlimited|r) lvl 6) or ((Unit-type of (Attacked unit)) Equal to Stalker lvl 6)
- Actions
- Set TempPoint = (Position of (Attacked unit))
- Unit - Create 1 DUMMY UNIT for Neutral Hostile at TempPoint facing Default building facing (270.0) degrees
- Point - Remove TempPoint
- Unit - Order (Last created unit) to (Name of Curse (Creeps)(Stalker)) (Attacking unit)
- Unit - Remove (Last created unit) from the game
- Events