is there a way i can switch between 2 cameras by which weapon my character is holding?

Here is a screenshot of how I switch cameras. It’s in a function in my character BP.

If you want smooth transitions instead, you could use Set View Target with Blend like Everynone suggested. [Here’s a video][2] demonstrating it. It’s turkish but I guess you shouldn’t need the talking for this one :'D

If you need further help, just ask.