ActiveSwapActionSet
A class in Root.Township, Alta.Intelligence.
Server: running action that switches the creature to a different action set when it starts.
- Listed in Creatures and AI
- Inherits or implements
BasicActiveAction<Agent, AgentSwapActionSetSettings> - Documented in Actions and decisions
Constructors
| Member | What it is |
|---|---|
ActiveSwapActionSet() | Creates an ActiveSwapActionSet with default values. |
Methods
| Member | What it is |
|---|---|
static IAction GetAction(AgentSwapActionSetSettings settings) | Builds the action for these settings, using a target if the settings say so. |
override void Update(bool hasTarget) | Does nothing. |
protected override void OnStart() | Switches the creature to Settings.Set and sets the duration. |