Switch Locomotion Module
Locomotion
Switch Locomotion Module is a ProtoFlux node that switches a user to a locomotion by name.
Inputs
* (Call)
Call this to switch the locomotion for the TargetUser (User).
TargetUser (User)
The user to switch the locomotion they are using to walk when this node is triggered.
ModuleName (String)
the name of the locomotion slot that the user should switch to.
Ex: "Walk/Run (with climbing)", "Fly", "Noclip", "Teleport", (etc.)
ExactMatch (bool)
Whether to switch the lomotion if it is a partial match (false) or switch only if the name exactly matches (true).
Outputs
OnSwitched (Continuation)
Sends an impulse after * (Call) was called and a locomotion was successfully found and switched to.
OnNotFound (Continuation)
Sends an impulse after * (Call) was called and the specified locomotion was not found.
Examples
-
Using Switch Locomotion Module to add a climb avatar to the local user.