๐Ÿ•น๏ธConnect Inputs to the Controller

Overview

To connect any Input to the Animal Controller you can use the Malbers Input component

Automatic Connections

All the States, Modes, Abilities and Stances have an Input parameter to connect any input to the activation of the logic automatically.

The name of the Input of each logic must match the Malbers Input component name

Connecting States

For the States, find the Enter Input and Exit Input. Make sure the Name matches in both components:

Connecting Modes

For the modes, find the Input Parameter in the General Tab

Connecting Abilities inside modes

Sometimes you will need to connect a specific ability to an Input. Find the Input for an ability after selecting the Mode, then the Ability, and then, on the General Tab the input parameter.

Connecting the Stances

For the Stances, you can find it when a stance is selected.

Manual Connections

Not all logic has automatic connections, in that case, you will need to go directly to the Input Events and use the events to call the methods directly. Here are some examples:

Other scripts like the Weapon Manager also have Automatic connections.

Last updated