How can i switch between Third Person and Top Down in an RTS Game?

Hey,
So i want to make a blueprint that attaches a camera to the character i have selected when i press a key.
I am working on a RTS game but i wanna test if i can switch between third person and top down view. The problem i am having is that i don’t want to do this for a unique character i want to do this for any character that i have selected during game play. But as you all may know in an RTS game there are multiple instances of a single character. So how do you guys propose i do this. I have used toggle and some other methods but to no avail.
And i am using the RTSToolkit that is available on the marketplace.

Hello.

you can add two different cameras to you character BP . one camera in third person position and one somewhere in top

and disable the auto active of one of them.

then your graph activate the second camera and deactivate the other one

camera reference> activate/deactivate

sorry I did not read the entire question first.

if you do not want to do this for a unique character then you can spawn the second character in place of the other one and then possess that by controller.

if you have several characters already available and visible in the level you can switch between them using controller > possess/unpossess node

like this

and you can possess the character which is selected by mouse or touch if it is a mobile game

hi thanx saeedc it worked but not in a way i wanted when tried the above code it placed a new pawn from a class blue print (AI_base template)

what actually i want is:

i have multiple characters at a time as most of the RTS games do have now!
when I select a particular character for movement and all other stuff afetr selection when i press the a key the view of the camera should be to Third person view

let me remind all characters belongs to a single class BP (AI_base template) they are stored in an array.

waiting for your response

so add a second camera to your character class and activate that when you press X

you need two spring arm and two cameras then.

if none of your characters have camera then you need to add a camera to your character class then cast the spawned character to your character class after possess node then get that camera and activate that

and then deactivate the main camera