Skip to main content

ActiveBlockCanceleableWander

A class in Root.Township, Alta.Intelligence.

A wander action that cancels itself when the agent's walker is blocked, or when it needs a target and has lost it.

Constructors​

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

Methods​

MemberWhat it is
override void Update(bool hasTarget)Runs the normal wander update, then cancels if the target is gone (when one is used) or the walker is blocked.