Resolved: Confine AI rotation to 2 180 degree yaw values

Have you verified that the blackboard value is valid? Moreover, in your code you’re checking if the needed rotation has a yaw value between 90 and 270 degrees. Then, in the second branch node you’re checking if the yaw value is either < 90 or > 270. If the code executes successfully, you have missed an important check (in your case) , which is what happens if your yaw value is either 90 or 270. In that case, the “False” path of your 2nd branch node will execute and you have placed no code there.

So to sum up, can you verify that:

  1. You have a valid blackboard entry
  2. The execution path actually attempts to rotate your pawn?
  3. The above task is successful (You need to call the “Finish Execute” when you want the task to finish). With that being said, try calling “Finish Execute” function when you’ve set the new rotation to the AI Pawn.

Last but not least, based on your original question I would suggest to move the above functionality in the “Receive Execute AI”.