need help with fighting game camera

I’m having trouble creating a fighting game camera. I have been following this wiki A new, community-hosted Unreal Engine Wiki - Announcements and Releases - Unreal Engine Forums

for blueprint help but it seems like I must have done something wrong. When I hit play I get this. If someone could please help me out on making a fighting game camera that can track two characters by moving left and right and zooming in and out depending on the characters locations.

Get the length of character 1 - character 2 to get your distance and set the camera distance to scale away based on this to keep players in view.

You can clamp the variable so it doesn’t zoom to far in or out.

Panning is a different story. Have to thinking on that a little.