🕹️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.

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:

The Sprint Input is connected dynamically to the Animal.Sprint property.
The Interact Input is connected to the Pick Up Logic
The Mount Input is connected to the Rider.MountAnimal Logic

Other scripts like the Weapon Manager also have Automatic connections.

Last updated

Was this helpful?