restricting Begin overlap to just the player

Hi,

I am fairly new to unreal engine, and I am just playing around with a fixed camera style demo.

I currently have the level set up with a bunch of camera actors with associated trigger boxes, and the level blueprint uses the OnActorBeginOverlap to change the view target. This was fine until I started adding some ai enemy actors, but now when an enemy actor enters a trigger box the camera changes as well.

So my question is simply, how can I restrict the onactorbeginoverlap to just consider the player actor and not other actors?

Any help/advice would be greatly appreciated.

Cast the “Other Actor” node to your character class, if it passes you have narrowed down to just the specific character class in the game.

Now, you may need to filter it further, Are there Ai controlled units? Is this Multiplayer?

Firstly, thanks for the help, as that works perfectly since I have a separate player class for my zombie/bad guys so I can just cast to the player class.

Here is a picture of my blueprint, I am assuming this is what you meant. I joined the exec line through the cast as well - is this the right thing to do?

yup that looks correct.