Hey guys. I was working on a targeting system but I can only get it to target after I click a button and run a line trace for it to detect it. Now, what I really want is, for targeting to begin as soon as the target enters the center of my fov, so far I havent been able to find any tutorials. Thanks.
I am a noob so please don’t be too brief
Hello epsilight,
You could set up a timer to run a line trace every 0.5 seconds or how ever quickly you wish so that it’ll automatically update when the target enters your FoV. You could also do it on Tick if you want, but that would most likely be too frequent for no real reason. You find out more about using timers here:
https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseTimers/Blueprints/index.html