ProtoFlux:Install Locomotion Modules

From Resonite Wiki
Revision as of 17:50, 3 March 2024 by 989onan (talk | contribs) (change to reference ILocomotionModule)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Install Locomotion Modules
*
Next
ModulesRoot
TargetUser
ClearExisting
Locomotion

Install Locomotion Modules is a ProtoFlux node that takes a slot with a type from the ILocomotionModule interface on it. The locomotion will also need a character controller and a few other components, which should be auto generated when a type from the ILocomotionModule interface component is added.

When called, this node will add the locomotion to the user in question.

Inputs

* (Call)

Call this to install the locomotion(s) to the target user.

ModulesRoot (Slot)

The module slot itself, or a slot with multiple locomotions under it to install to the target user. each slot to install needs a type from the ILocomotionModule interface on it.

TargetUser (User)

The user to install the provided ModulesRoot (Slot) to.

ClearExisting (bool)

Removes all the existing locomotions from the user and replace with the provided ModulesRoot (Slot) locomotion module(s).

Outputs

Next (Continuation)

Sends an impulse after * (Call) was called and the locomotion(s) are installed to the provided user.

Examples