The Fixed Status node allows you to explicitly set the desired state that will be returned when this node is executed. This is useful for debugging, testing, and controlling the passage of specific sections in behavior trees.
Examples of Use:
Example 1:
Fixed Status: Success
In this example, the Fixed Status node will always return the Success
state.
Example 3:
Fixed Status: Running
In this example, the Fixed Status node will always return the Running
state.
Important! Most composite nodes, such as Selector and Sequence, when encountering
Running
, will block the execution of the tree until the node returnsSuccess
orFailure
. So, use this status carefully.