Force Success
Force Success — continue after an optional step fails
Force Success turns its child's Failure into Success. Use it when a check is optional and the sequence should go on whatever the outcome. While the child is still working, the node returns Running.
Try it in your own tree
Create a separate tree using Getting Started. Keep Activation → Is Loaded and Execution → When Activated → Do nothing, so that every tick is manual.
- Use
Add new Nodeto addSequence,Force Successand twoFixed Statusnodes. Connect them as below. Sequence's children go left to right. - Set the child of Force Success to
General → Status → Failureand the last Fixed Status toSuccess. Select Force Success and check thatGeneral → Childshows the right child.
My Tree
└─ Sequence
├─ Force Success
│ └─ Fixed Status: Failure
└─ Fixed Status: Success
- Click the upper
Tick BT Once. The first Fixed Status returnsFailureand Force Success returnsSuccess. Sequence reaches the last child and finishes withSuccess. - Set the first Fixed Status to
Runningand tick again. Force Success and Sequence returnRunning, and the last child does not run in that tick. Set the first one back toFailureand click the same button. The sequence runs to the end.
| Setting or child result | Effect |
|---|---|
| Child | One connected child. For several steps, connect your own Sequence to Force Success |
| Success | Force Success returns Success |
| Failure | Force Success also returns Success, and the parent can go on |
| Running | Force Success returns Running, and the child keeps working |
The smallest case, a failed child whose result is changed:
Force Success
└── Child Node (Failure)
If the failed step should be retried, use Until Success. It tries again on the next tick. If you want a different option after Failure, use Selector.
With no children, the node returns Success, but an optional step needs a child. Force Success does not turn execution errors or cancellation into success.