🕹️Connect Inputs to the Controller
Last updated
Last updated
To connect any Input to the Animal Controller you can use the Malbers Input component
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
For the States, find the Enter Input and Exit Input. Make sure the Name matches in both components:
For the modes, find the Input Parameter in the General Tab
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.
For the Stances, you can find it when a stance is selected.
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.