How can you make sure the default camera is NEVER selected

Here’s the issue fellow Unreal engine-eers!

I have a set up that assigns cameras to each player. The number of players is determined by a UMG menu selection. So you’ll see:

Please choose the number of opponents:
1 2 3

(I’m building a 4 player game, might expand later)

Upon making a selection, the players are spawned into the level (you + the number of opponents) and the camera is set to the player that will go first (Randomly determined in the first round).

In a 2 player example: It will set the camera to either player 1 or player 2. (Which is what I want) For some reason, it will also choose the default camera at random. (Not what I want)

Is there a way to remove the default camera leaving only 2 options to choose from or perhaps another solution that will yield the results I’m looking for?

Thanks in advance for any help you guys & gals can provide!

Cheers!

Alvin

Is your logic actually picking the default or is it displaying the default despite you trying to push a different camera as the target?

For clarification: if you print out your result from your random camera logic does it say that it picked the default? How are you picking cameras?

You should be able to figure out what error is not pushing the camera target but you can always try the AutoManageActiveCameraTarget option in the player controller. Turning it off may help.

Hey RimmyD!

Thanks a bunch! That did it! :slight_smile:

Cheers!

Alvin