For example, ive coded some AI, giving access to some events like “SeeEnemy” or “Hear Noise”, wich i calculate and call from C++ ( i run a check every 0.1 seconds to check if the AI can see someone). And then, i have some functions like “AttackTarget”, or “WanderAround”, wich i call when i want the AI to do that, also functions like “meleeattack”.