Tower Defence First target

I’m trying to make a tower defense game, but I don’t know how to code the First Targeting system, pls some help

Greetings Remko11, thank you for posting.

Your request is interesting. You may need to check on some tower defense tutorials and maybe give some more details when making a request like this. Is this a 2.5D game, 3D game, what have you already accomplished so far? What are your current AI like?

In the meantime, I found a part of a tutorial that does go over the firing mechanic you spoke of in your initial question. Minor adjustments may need to be made as you are using UE5 but the functionality is there if you’d like to study this on your own.

I hope this gives you a good idea for your own implementation.

AlenLoebUE4 :[Old] UE4 Tower Defense tutorial PART 1: Towers, enemies and screen movement

WARNING: This is an external link and as the end user, you are responsible should something happen to your device when you choose to click a link or follow steps that are not endorsed by Epic.

Thx I will take a look at that video