Hi,
Is there a way to spawn enemies out the line of sight of any player?
Kind Regards,
Dave De Breuck
Hi,
Is there a way to spawn enemies out the line of sight of any player?
Kind Regards,
Dave De Breuck
Sure. I’d suggest using EQS for finding out-of-sight spots. There’s already a fair amount of tutorials out there on how to use EQS. Start with this one (it touches on more things, but those might come in handy as well :D).
Cheers,
–mieszko
Thanks for the replay, but doesn’t EQS only kicks in when you run a behaviour tree?
The AI still needs to spawn, so how can I determine his spawingposition then?
Kind Regards, Dave De Breuck
UE4 4.8 comes with a Blueprint function to run EQS queries
I there a way to access it in C++ already?
Of course. Look at UBTTask_RunEQSQuery
implementation details.