I would say have a unit actor that is created on death of the baneling, then have the unit have a timed life behavior and a search effect behavior that applies behaviors to units found. Just off the top of my head, that would be how I would go about it at first.
When a Baneling explodes, I want it to leave slime on the ground. The slime lasts 10 seconds and slows all enemy units who stand´s in the slime.
What is the most easy and effective way to make this spell work?
I would say have a unit actor that is created on death of the baneling, then have the unit have a timed life behavior and a search effect behavior that applies behaviors to units found. Just off the top of my head, that would be how I would go about it at first.
Or use a Create Persistent effect and a Model actor, so you don't need a dummy unit.