Last I saw you were applying it to the wrong unit. Rather than the spawned unit having the buff by default it needs to be applied by the effect tree that created the unit which is part of the ability. If the creation and buff application are in sister branches they cannot cross reference each other.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
The spawned unit doesn't have it by default. The spawned unit gains the timed life behavior buff from the Spawn Effect Field in the Spawn Unit Effect. The Timed life behavior is the one with the damage response. If you take a look at the test map file I sent you will see the spawned unit doesn't start with it by default.
The way I'm interpreting what you wrote earlier is that instead of applying the behavior through that effect, I should apply it from the first SET effect.
I have yet to try this so I will soon do so and see if it makes a difference.
I have tried what you suggested and instead of placing the timed life behavior that has the damage response on the Spawn Effect field, I put it in the SET effect of the Ability and it still does not work. Caster still gets credit. I have gone over what you have said and I'm 90% sure I have done exactly as you described and it still gives the kill credit to the caster and not the target.
If you review the test map it is clear the target is also getting the kill credit buff applied to himself VIA the damage response and the caster gets the buff first before the target buffs initial effect kills him. It should work in theory according to what Kill Credit is supposed to do but it doesn't.
If anyone reviewing this has an idea of why or can prevent a solution I'm all ears. Until then I'm going to have to give up on the solution as unsolvable at this point.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Last I saw you were applying it to the wrong unit. Rather than the spawned unit having the buff by default it needs to be applied by the effect tree that created the unit which is part of the ability. If the creation and buff application are in sister branches they cannot cross reference each other.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
The spawned unit doesn't have it by default. The spawned unit gains the timed life behavior buff from the Spawn Effect Field in the Spawn Unit Effect. The Timed life behavior is the one with the damage response. If you take a look at the test map file I sent you will see the spawned unit doesn't start with it by default.
The way I'm interpreting what you wrote earlier is that instead of applying the behavior through that effect, I should apply it from the first SET effect.
I have yet to try this so I will soon do so and see if it makes a difference.
Yes. Also in the test map you had some of the reference effects messed up.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Sorry Dr. Super Evil....
I have tried what you suggested and instead of placing the timed life behavior that has the damage response on the Spawn Effect field, I put it in the SET effect of the Ability and it still does not work. Caster still gets credit. I have gone over what you have said and I'm 90% sure I have done exactly as you described and it still gives the kill credit to the caster and not the target.
If you review the test map it is clear the target is also getting the kill credit buff applied to himself VIA the damage response and the caster gets the buff first before the target buffs initial effect kills him. It should work in theory according to what Kill Credit is supposed to do but it doesn't.
If anyone reviewing this has an idea of why or can prevent a solution I'm all ears. Until then I'm going to have to give up on the solution as unsolvable at this point.