/tg/ Station 13 - Modules - TypesVar Details

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_behaviorWhat behavior to execute if we have no target
finish_planningdo we finish planning subtree
hunt_chanceWhat are the chances we hunt something at any given moment
hunt_rangeIn what radius will we hunt
hunt_targetsWhat targets we're hunting for
hunting_behaviorWhat behavior to execute if we do have a target
target_keyWhat 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