Search for Health
The Search For Health branch is the next highest priority branch:
The Search For Health branch is a small branch which will search for health if the agent’s health is low. This branch uses a Lower Priority conditional abort so it can abort any branch to the right of it.
The Is Health Low conditional task will return success if the health is lower than the specified amount and the agent does not have a target. This ensures the agent doesn’t always start searching for health while they are attacking a target and their health is getting low. The Reset branch will then reset the variables to ensure they have a fresh start after the branch has ended. The Search For Health task will then move the character to a position where there is a health pack. As soon as the agent finds the health pack the task will return Success.