/tg/ Station 13 - Modules - TypesVar Details

is_at_distance

Decorator that requires the controller's pawn to be within range of a blackboard target.

Vars

maximum_distanceMaximum distance (inclusive) from target
min_distanceMinimum distance (inclusive) from target. 0 means no lower bound.
require_reachIf TRUE, also verifies target.IsReachableBy(pawn) before passing to child.
target_keyBlackboard key holding the atom to approach. Must be set on the subtype or via configure().

Var Details

maximum_distance

Maximum distance (inclusive) from target

min_distance

Minimum distance (inclusive) from target. 0 means no lower bound.

require_reach

If TRUE, also verifies target.IsReachableBy(pawn) before passing to child.

target_key

Blackboard key holding the atom to approach. Must be set on the subtype or via configure().