# AI Controller can it be used to run more than one AI Task

**URL:** <https://forums.unrealengine.com/t/ai-controller-can-it-be-used-to-run-more-than-one-ai-task/467585>\
**Category:** AI\
**Tags:** aicontroller, run-behavior, task, unreal-engine, UE4, question\
**Created:** [July 3, 2020, 3:06am UTC](https://forums.unrealengine.com/t/ai-controller-can-it-be-used-to-run-more-than-one-ai-task/467585 "2020-07-03T03:06:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gamebro2222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gamebro2222](https://forums.unrealengine.com/u/gamebro2222)\
**Post date:** [July 3, 2020, 3:06am UTC](https://forums.unrealengine.com/t/ai-controller-can-it-be-used-to-run-more-than-one-ai-task/467585/1 "2020-07-03T03:06:06Z")

</div>

The AIController can it be used to have an AI run multiple tasks or layered/stacked tasks?  
  
I’m used to creating layered tasks in state machines in none UE4 AI systems.

Example

- Task\_AttackTarget could have a state machine and it would run something like   
  
— Task\_MoveTo (move toward a target)  
  
— Task\_UseAttack (use an attack at location, this task could maybe do sub tasking for different attack types)  
  
— Task\_MoveToSafety (move away find a safe area)  

I would like to learn more about the AIController not just stick a behavior tree.
