Recent content by laurien

  1. L

    Send Event to c# script not received

    Hi, Sorry for the basic question. I'm just testing the Send Event, as I need a behavior tree to trigger a C# function. I've set it up so that the behavior tree and C# test script are on the same game object. Here is is the behavior tree: And here is my test script: The target gameobject in...
  2. L

    How to continually check bool to switch between two sets of behaviour?

    Hi, I have a level split into 2 zones. I am checking a bool to see which zone a player is in, as the AI will have different behaviour for each. I want to be able to continually switch between the 2 sets of behaviour as the player switches zone. In the setup shown in the sceenshot I'm finding...
  3. L

    How to interrupt Pursue once the player is no longer seen by AI

    Sorry! I've resolved both! I'll leave my post up in case it helps anyone (as someone else's post ramblings helped me work it out!) The flickering of the Can See Object was caused by the AI's collider. I'd unticked the Instant check on the sequences, which was causing the issue with the Can...
  4. L

    How to interrupt Pursue once the player is no longer seen by AI

    Hi, Thanks for your reply! I've tried the both conditional abort but am unsure why I am seeing this behaviour (I've attached a video). Firstly, Can See Object returns false while the player is moving, but still within view of the AI. The main issue I'm unsure about is that after a while (at...
  5. L

    How to interrupt Pursue once the player is no longer seen by AI

    Hi, I'd like an AI to wander, and then pursue the player if the AI can see the player. While the AI is pursuing, if it can no longer see the player, I would like it to stop pursuing. I'm wondering what the correct way would be to interrupt the Pursue once the player is no longer seen by the...
Top