ProtoFlux:Switch Locomotion Module

From Resonite Wiki
Revision as of 18:02, 3 March 2024 by 989onan (talk | contribs) (Create Switch Locomotion Module ProtoFlux Node Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Switch Locomotion Module
*
OnSwitched
TargetUser
OnNotFound
ModuleName
ExactMatch
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