An in depth practical example from the game Quake III: check out the 2 link at the end of this quick intro. https://fabiensanglard.net/quake3/a.i.php
I love its simplicity yet it is so effective. So many project in AI turn to a bunch of complex stuff that just add some questionable value. And sometimes a project where we wonder “is the different part of the logic acting against each other and get the AI to some half idle state compare to what it’s supposed to do?”. You can even see how you can add different behavior very easily like here for some character to prefer different guns.