Create Install Locomotion Modules ProtoFlux Node Page |
change to reference ILocomotionModule |
||
Line 15: | Line 15: | ||
|}} | |}} | ||
Install Locomotion Modules is a ProtoFlux node that takes a slot with a | Install Locomotion Modules is a ProtoFlux node that takes a slot with a type from the [[Type:ILocomotionModule|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 [[Type:ILocomotionModule|ILocomotionModule]] interface component is added. | ||
When called, this node will add the locomotion to the user in question. | When called, this node will add the locomotion to the user in question. | ||
Line 27: | Line 27: | ||
=== ModulesRoot ([[Slot]]) === | === 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 | 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 [[Type:ILocomotionModule|ILocomotionModule]] interface on it. | ||
=== TargetUser ([[Type:User|User]]) === | === TargetUser ([[Type:User|User]]) === |
Latest revision as of 17:50, 3 March 2024
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
-
Using install locomotion modules to add a climb avatar to the local user.