I would do it like this. There might be a more efficient solution:
You could set up a beam emitter that goes from your character to the target. When it reached the target, you check, if there are any other possible targets in range. If so, create a beam emitter from that one target to the target number two. If not, just stop, or make the beam fade away smoothly. Repeat this step.