What do you use to plan your AI?

I don’t have any on hand right now, but I quickly googled and these 2 look okay, one is more basic, but shows the general idea of Behavior Trees. https://docs.unrealengine.com/4.26/Images/InteractiveExperiences/ArtificialIntelligence/BehaviorTrees/BehaviorTreeQuickStart/BTQS_Step3_11.png
https://i.imgur.com/ucbS20M.jpeg
Behavior Trees are executed from left to right, so you can put more important tasks to the left side, so the sequence can go over them first. You have few concepts to learn there(decorators, services, blackboards, sequences,…), but after few tutorials you should be able to create logic for a character on your own.