Hi, how Do I get my turrets to target my enemies or rather a group of actors which has the same BP class?
Currently I have this as my setup (target is player) but I want to make it fire to enemies or rather to a certain class, so it can ignore my own units. My setup
You don’t need to “Cast to Actor” because the “Other Actor” already is an actor so this makes no sense. If you want it to target a specific class for example the player - cast ‘Other Actor’ to the Player Character Class instead. This will only then target Player Characters in your game.
I know I fixed that part already it, the part i’m unsure about is the ‘player pawn’ … I don’t want it to target the player character class, that is the current built.