I’ve been trying to use the ForceSuccess decorator in various places and it never seems to have the expected result. I’ve ended up writing a few tasks that end up always calling finishExecute with success no matter what to get the desired behavior.
Maybe I’m not understanding how to use the ForceSuccess decorator?
One example is I have a simple parallel node. The main task is a MoveTo command. The subtree does attacking. I tried adding a decorator to the MoveTo command to block moving if the character is performing an attack that forced the character to stay in place. It fails the MoveTo command and as a result seeems to fail the entire SimpleParallel subtree. Adding a force success doesn’t help.