find_and_hunt_target
Tells the AI to find a certain target nearby to hunt. If a target has been found, we will start to move towards it, and eventually attack it.
Vars | |
finding_behavior | What behavior to execute if we have no target |
---|---|
finish_planning | do we finish planning subtree |
hunt_chance | What are the chances we hunt something at any given moment |
hunt_range | In what radius will we hunt |
hunt_targets | What targets we're hunting for |
hunting_behavior | What behavior to execute if we do have a target |
target_key | What key in the blacbkboard do we store our hunting target? If you want to have multiple hunting behaviors on a controller be sure that this is unique |
Var Details
finding_behavior
What behavior to execute if we have no target
finish_planning
do we finish planning subtree
hunt_chance
What are the chances we hunt something at any given moment
hunt_range
In what radius will we hunt
hunt_targets
What targets we're hunting for
hunting_behavior
What behavior to execute if we do have a target
target_key
What key in the blacbkboard do we store our hunting target? If you want to have multiple hunting behaviors on a controller be sure that this is unique