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.
asked Aug 25 '16 at 03:10 PM in Blueprint Scripting
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
answered Aug 25 '16 at 04:24 PM
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
answered Aug 25 '16 at 09:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here