Add the ability to the robot we've programmed with behaviour trees to be able to return to the last position where it was fighting with the player before it retreated. It should return after it's health has been restored to above 40. A solution is attached with comments in the code.