Announcement

Collapse
No announcement yet.

Hiding from AI

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

    Hiding from AI

    Hi. I've created an AI which is following me. It's all working perfect but I don't know how to disable senses when I'm inside a hiding spot. The thing is that it's a hide&seek game and I can hide under the table. Normally the AI can see me, but there I want to disable the senses and after I go outside the table to activate again the senses.
    Inside the AI I'm calling an event which sets the value for the blackboard KeyCanSeePlayer as false when I'm under the table, but after I go out, the NPC can't see me anymore. So I've done a flip flop and I call again the Perception Update, but here the problem is that, if I call It, the KeyCanSeePlayer will be set as true even if I'm not in the area so the NPC will follow the last spot.
    Attached Files
Working...
X