- Joined
- Sep 14, 2009
- Messages
- 284
Like the title suggests, is there anyway to make an projectile harmless?
By harmless I mean not treated as an attack. I know I can set the damage to 0, but I'm using a DDS and I need to detect the projectile. Even if the damage is set to 0.01, the targeted friendly unit will still be "attacked" and is ordered to run (and if it is a hero the icon on the left side of the screen is blinking red).
Basically I have a spell that sends a missile to hit up to 4 enemies (Chain lightning effect but with a projectile), after the last unit is hit, the projectile returns to the caster.
Since I want to missile to follow the caster, I cannot use a dummy unit as the target. I tried making it so that the dummy unit is moved to the caster position ever X seconds, so it will appear that the missile is homing back at the caster, but it did not work for some reason.
Note: Death Coil does not work since I cannot detect any damage from it as a healing ability).
By harmless I mean not treated as an attack. I know I can set the damage to 0, but I'm using a DDS and I need to detect the projectile. Even if the damage is set to 0.01, the targeted friendly unit will still be "attacked" and is ordered to run (and if it is a hero the icon on the left side of the screen is blinking red).
Basically I have a spell that sends a missile to hit up to 4 enemies (Chain lightning effect but with a projectile), after the last unit is hit, the projectile returns to the caster.
Since I want to missile to follow the caster, I cannot use a dummy unit as the target. I tried making it so that the dummy unit is moved to the caster position ever X seconds, so it will appear that the missile is homing back at the caster, but it did not work for some reason.
Note: Death Coil does not work since I cannot detect any damage from it as a healing ability).