I dunno, I thought that the know where you are at all times part was kinda shaky but the other is okay (I am not a programmer but I have seen this post a few times before, along with comments from other programmers).
I am a programmer and from a coding perspective it could be true or false. Depends on how you look at it. The game knows where you are at all time. It has to if you want to be able to play it at all. Mostly likely the AI will have a flag somewhere that says something like "alerted" or something which switches their code.
while (alerted == false)
{
//patrolling code
}
While (alerted !=false)
{
//combat code
}
Whether or not you consider the game knowing your position being the same as the AI knowing your position is just a matter of perspective and semantics
Edit: there's also the fact of, the position could be passed to the AI code any time during its operation. It could have the position updating the whole time it's running or it could pass it there and update it during the combat code if that's how it's coded. The fact of the matter is it just depends on how it's written and an individuals perspective on it.
Wouldn't it being "forced" not to interact with you imply that the code's default state is interacting with your character though? It just seems more like it's coded not to interact with you until you trigger the AI, which is then forced TO interact with you. I realize this is the literal definition of splitting a hair, but the wording kind of seemed odd to me, and now I'm genuinely curious
while (alerted == false)
{
//patrolling code
}
While (alerted !=false)
{
//combat code
}
Whether or not you consider the game knowing your position being the same as the AI knowing your position is just a matter of perspective and semantics
Edit: there's also the fact of, the position could be passed to the AI code any time during its operation. It could have the position updating the whole time it's running or it could pass it there and update it during the combat code if that's how it's coded. The fact of the matter is it just depends on how it's written and an individuals perspective on it.