It’s fine to say “I want to use C++” for a project and always default to “well, I’ll just do this entirely in C++”, but there are system where data driven aspects make a large amount of sense. AI is one of those systems. Unless you want to spend hours coding individual AIs (and testing them), instead of letting any designer (or even yourself) quickly whip up multiple AI behaviors, test them immediately, all without a recompile.