Every unit has a buff that triggers an apply behavior effect when it gets killed on the killing unit. Now I wanted to visualise this so when a unit kills another and therefore gets the behavior, it gets indicated visually. For this I created an actor (ModelAnimationStyleOneshot) that triggers when the killing unit gets the behavior.
Alright now my problem: If the killing unit kills a unit that already has the behavior (because the unit being killed already killed another earlier), then the actor triggers also on the killed unit. But I want the actor to be shown only on the killing unit; not the unit being killed - in general: only if a unit gets a kill; not when a unit dies.
There must be an obvious reason behind the way I setted this up, but I don't understand it right now :O
In reply to DrSuperEvilGamepedia:
It starts with a BehaviorLevel event and there's no At term available unfortunately - but maybe another term ?
Oh I think I got it now. Just changed the event to an EffectStart and added a term AtTargetOuter.
Thank you Dr
Every unit has a buff that triggers an apply behavior effect when it gets killed on the killing unit. Now I wanted to visualise this so when a unit kills another and therefore gets the behavior, it gets indicated visually. For this I created an actor (ModelAnimationStyleOneshot) that triggers when the killing unit gets the behavior.
Alright now my problem: If the killing unit kills a unit that already has the behavior (because the unit being killed already killed another earlier), then the actor triggers also on the killed unit. But I want the actor to be shown only on the killing unit; not the unit being killed - in general: only if a unit gets a kill; not when a unit dies.
There must be an obvious reason behind the way I setted this up, but I don't understand it right now :O
Maybe there is a flag I have to set on the actor.