Want to rotate an actor on its local Z axis while keeping the Y and X axes the same

I am creating a wall running system for the third person character in unreal engine 4, the issue is i dont know how to rotate the actor on their local z axis, for turning, AddActorLocalRotation wouldnt help because i want to make the actor face the the control rotation/springarm/camera. here is the setup

If I understood correctly, you need to rotate your control rotation to 0 or 180°. You can achieve that with these nodes :

Then make sure that UseControllerRotationYaw is set to true in your character defaults.
Also uncheck Inherit Pitch/Yaw/Roll under springArm defaults.