AI [CanSeePlayer] key - Both true & false at the same time?

Hi guys. This is the weirdest problem ive seen. The K_CanSeePlayer key is set to true in the print string when looking right at the player. But in the AI debugging it says its false.

How is this possible? My AI wont ever enter the chase player sub-tree on the right, even when standing in front of the player.

Can somebody please tell me how to fix this? I had this sub-tree working before and haven’t changed it. Thanks in advance for any help.




You wrote the litaral wrong. You are not setting the value. You omitted the K_ in the start of the variable

You are my hero. I have no idea how that happened. I always copy and paste it into the makeliteralname node in case exactly this happens lol. I learned from this though, so thank you.

Good thing you were able to overcome it. Happy coding.

Don’t forget to mark the question as resolved