Reply To: Demo1 Distance Check and Lose Target after spotted

Forums 💬 NodeCanvas 🗨️ General Discussion Demo1 Distance Check and Lose Target after spotted Reply To: Demo1 Distance Check and Lose Target after spotted

#14774
Gavalakis
Keymaster

    Hello,

    No problem, feel free to ask anything related 🙂

    If I understand you correctly, then you simply need to add another condition (if distance to target < 10) child of the same Dynamic Sequencer that has the LOS, InFront checks.
    As such, if the condition is not met (target exceeds a certain distance), then the soldier will continue patroling.
    I’ve attached the BT changed.

    Let me know if that’s what you mean.
    Cheers