Change camera on death to killer camera [c++]

Sorry I was gone so long. Does it Work to set the view target not to the killer player pawn but to the killer pawn’s camera component?