Skip to main content

ActiveInteractApproach

A class in Root.Township, Alta.Intelligence.

Navigation action that walks up to the target and then runs CanReach, or CantReach if the target is too high or low.

Constructors​

MemberWhat it is
ActiveInteractApproach()Creates an ActiveInteractApproach with default values.

Methods​

MemberWhat it is
override void Update(bool hasTarget)Gives up if too far, else on arrival stops and checks height, then runs CanReach or CantReach (dropping the target for a while).
protected override void OnStart()Starts following the target to ArrivalDistance.