Or the Deus Ex “ai” which people praised as feeling very intelligent- but was just programmed scripted sequences based on what the player most likely would do.
Yeah, in the end it's all if-this-happens-do-that under the hood. And that's important because game AI must be deterministic. Otherwise reproducing bugs would be impossible.