Skip to main content

ActiveSwapActionSet

A class in Root.Township, Alta.Intelligence.

Server: running action that switches the creature to a different action set when it starts.

Constructors​

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

Methods​

MemberWhat 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.