Thanks for getting back to me. Really appreciated.
It’s a bit more complicated than that as I wanted the soldier to continue the MoveToTarget even if the LOS is broken. So the LOS check is only evaluated once.
I think I’ve got it now although I’ve probably made it more complex than necessary.
1. Removed the Dynamic for Check if in Sight
2. Added a distance check next to the LOS
3. Added an inverted distance check before the GoToTarget
So something like the attached pic
Probably can be done easier than this but it’s working for now 🙂
Cheers
Login
Register
By registering on this website you agree to our Privacy Policy.