StateTree, Queue, and Orchestration
This page documents the primary runtime surfaces of StateTreeStack and StateTreeQueue. Stack owns control of the behavior layer; Queue owns the execution sequence for already-decided tasks. They are often used together, but their parameters represent different responsibilities.
For the feature model, see StateTree Orchestration System. For integration, see Integrate StateTree and Blackboard. For debugging, see GameplayDebugger.
Stack
Stack fields and functions answer which StateTree layer is currently effective. Stack is appropriate for Unit, Squad, Command, and similar levels of override; it is not a task list.
Queue
Queue fields and functions answer which tasks are in the current dispatch, how far execution has progressed, and what result it produced. Queue is appropriate for an already-decided execution plan; it should not decide long-term AI control authority.
Events
StateTree helper surfaces
FGAIS_STE_Context resolves the Pawn, AIController, Blackboard, command component, squad component, unit component, and queue component. FGAIS_STE_EvalBBAsActor_Data and FGAIS_STE_EvalBBVAsActor are Blackboard Actor-reading surfaces. Queue Tasks include Enqueue, Dispatch, and Track Queue task types.