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.
- Listed in Creatures and AI
- Inherits or implements
ActiveWander
Constructors
| Member | What it is |
|---|---|
ActiveBlockCanceleableWander() | Creates an ActiveBlockCanceleableWander with default values. |
Methods
| Member | What 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. |