I have a user interface blueprint that I am creating to allow the player to open it up by hovering over a button to bring up a list of buttons, and each button connects to a camera actor. However, I cannot seem to get the camera as a variable in the UI blueprint. Only the level blueprint.
Should I even attempt to control the cameras with a separate blueprint or is it better to use the level blueprint and work from there? I just need an interface to control them but I can’t get the reference to the camera actors where I want them.
Note that I’m getting all cameras when the UI is constructed which means the cameras have to already be there and I don’t update it at any point sou you might want to change that depending on weather your cameras will be added or removed.
I see, now since I want to be able to click a button that activates each camera, I am assuming I need a variable reference for each one? I want to switch them with widget buttons and be able to exit them. The cameras will already be spawned in and will never be removed.
I see that I did start putting this together but the problem I ran into was setting up the “All Cameras” array variable. I’m not sure how to put the cameras inside of it.
It will comb through the whole level and will return all actors descendant of that class. (in this case “Camera Actor”)
Unless you are using some strange cameras. But you are using “Camera Actors” for your cameras right?