Returns a Case value based on the passed in Switch index. For example, a Switch value of 1 results in Value for Case 1 being returned. If the Switch value does not match any active Case index, the Default value is returned.
Inputs
Name
Type
Description
Switch
float
Index of the Case value to use
Value ( Switch == 0 )
float
Value used when Switch is 0
Value ( Switch == 1 )
float
Value used when Switch is 1
Value ( Switch == 2 )
float
Value used when Switch is 2
Default
float
Value used when Switch does not match any active Case