I've searched the forum and came across two separate solutions to having a missile grant it's kill effect to the unit caster. One involved giving the search effect to the launch missile effect, and the other involved searching for the missile and applying the KillToCaster behavior. In both instances I've failed to get the source unit to receive credit for the kill, and both instances still ended up with the suicidal projectile receiving the credit for the kill.
Any insight as to how to get the kill credit to show up on the originating unit would be appreciated.
I have the search effect withing the launch missile one and it doesn't work. (It was one of the things I tried)
As far as the effects go in terms of order, the ability starts the persistent which periodic effect is to launch the missile, the launch effect does the search which then applies the damage.
Granted completely possible that what I have isn't in the correct order.
Seems like you're missing the behavior. Re-reading your OP it looks like you thought there were two separate approaches but what you actually were looking at were two steps in the same approach.
I'm at a loss at how to apply the behavior. I created a search to look for the missile to apply the behavior, but I can't seem to tag them. I created a buff to apply a slower time scale to confirm I was actually able to effect them, but I can't get that to register. Tried to apply the search effect through the persistent, then tried to apply it through a set search, neither approach did anything.
I find this a rather frustrating problem to deal with as the 'solution' is scattered everywhere and I'm still at a complete loss at what's missing.
This method works for me and should work for you, never bothered to check if it influences xp gains but it certainly worked on keeping proper kill tracking. The central idea is how to tag your missiles with a 'killtocaster' behavior, I used a search effect but the trick was I believe to ensure there was a 0.01 time dif between the launch and the search so that the missile had time to be born.
I've searched the forum and came across two separate solutions to having a missile grant it's kill effect to the unit caster. One involved giving the search effect to the launch missile effect, and the other involved searching for the missile and applying the KillToCaster behavior. In both instances I've failed to get the source unit to receive credit for the kill, and both instances still ended up with the suicidal projectile receiving the credit for the kill.
Any insight as to how to get the kill credit to show up on the originating unit would be appreciated.
Half a dozen posts below this one...
http://forums.sc2mapster.com/development/data/12738-launching-missiles-but-still-having-them-connected/#p3
If you still can't get it working the map I'll be releasing for the WoW boss contest contains a working implementation.
@RileyStarcraft: Go
I have the search effect withing the launch missile one and it doesn't work. (It was one of the things I tried)
As far as the effects go in terms of order, the ability starts the persistent which periodic effect is to launch the missile, the launch effect does the search which then applies the damage.
Granted completely possible that what I have isn't in the correct order.
Seems like you're missing the behavior. Re-reading your OP it looks like you thought there were two separate approaches but what you actually were looking at were two steps in the same approach.
@RileyStarcraft: Go
I'm at a loss at how to apply the behavior. I created a search to look for the missile to apply the behavior, but I can't seem to tag them. I created a buff to apply a slower time scale to confirm I was actually able to effect them, but I can't get that to register. Tried to apply the search effect through the persistent, then tried to apply it through a set search, neither approach did anything.
I find this a rather frustrating problem to deal with as the 'solution' is scattered everywhere and I'm still at a complete loss at what's missing.
@RahnSCII: Go
http://forums.sc2mapster.com/development/data/12096-proper-kill-credit-vs-targetless-missiles/
This method works for me and should work for you, never bothered to check if it influences xp gains but it certainly worked on keeping proper kill tracking. The central idea is how to tag your missiles with a 'killtocaster' behavior, I used a search effect but the trick was I believe to ensure there was a 0.01 time dif between the launch and the search so that the missile had time to be born.
@BumpInTheNight: Go
That was one of the posts I ran across, but I couldn't get it to work.
In general I know the concept and the logic behind it, but for the life of me I cannot get it to execute.