ProtoFlux:GetLocomotionArchetype
The Get Locomotion Archetype node takes in an ILocomotionModule and returns the Nullable`1LocomotionArchetype
More actions
Get Locomotion Archetype
Locomotion
The Get Locomotion Archetype node takes in an ILocomotionModule and returns the Nullable`1<LocomotionArchetype> that was provided from a user's locomotion module (found in the locomotion modules component category).
Inputs
Module (ILocomotionModule)
The user's locomotion module.
Outputs
Returns the (nullable) locomotion archetype.
Examples

The output of this node is a nullable type, because of this any checks need to be done with compatible types. This is made tricky by ProtoFlux's limitations with casting nullables so you need to manually connect the correct nodes.
In this example, PackNullable is used to create a compatible value that is then compared. However UnpackNullable can also be used after the node to then do a similar check.
