Harmless Projectile

Status
Not open for further replies.
Level 11
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).
 
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.

This is the way to go though. You must have made one or more errors in the trigger since it did not work.
If you can, please post the trigger where you tried this method.
If you don't have it anymore then try to explain why the trigger didn't work.
 
Level 12
Joined
Nov 3, 2013
Messages
989
set a new point = offset by it's missile speed multiplied by how many times it happen per second (usually 0.03) towards the target from the projectiles current location.

set pointMissile = pointMissile offset by missileSpeed towards angle between points (pointMissile & pointCaster)
Move Missile instantly to pointMissile facing pointCaster
 
Status
Not open for further replies.
Top