Announcement

Collapse
No announcement yet.

AI sensing, how to make is stop sensing?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    AI sensing, how to make is stop sensing?

    Hello,

    I'm currently creating a game for school.
    I have an AI which runs towards me when he senses me trough Pawn sensing.
    However it doesn't stop following me after it sensed me, not even if I'm super far away
    It does stop when I get behind it behind it.

    I have seen that a lot of people asked the same question but sadly no one has given an answer yet.
    I'm a big noob when it comes to blueprints but the thing I want to achieve seems rather simple.
    Can anyone help me out?

    Here's the blueprint code for the enemy pawn:
    Click image for larger version

Name:	pawn sensic.png
Views:	1
Size:	143.0 KB
ID:	1226689

    Thanks,
    Chris
    Attached Files
    Last edited by Frenzygator; 08-11-2017, 01:09 PM.

    #2
    "Set Sensing Updates Enabled" node?

    Comment


      #3
      https://youtu.be/fFOVA6_h03Q?t=700
      chose the distance, put the node disable movement if its too far and set movement mode = walking if its in range
      i think is this you want

      Comment

      Working...
      X