beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

NumberSequence Op

Ops.Value.NumberSequence


NumberSequence
Namespace: Ops.Value

Op author: tim

Copies the input value to the output ports (value sequence)


summary (oneliner)

This op is very similar to Ops.Sequence – the ports are set in order (from left to right) once the input value changes. This is helpful sometimes when multiple ops depend on the value of another and the order of op-execution matters.



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

In Value (Number)

The original value which will be copied to the output ports


Outputs

Value Changed (Trigger)

Triggers when In Value changed, after all out ports have been set


Out Value 0 (Number)

Copy of In Value, port is set first


Out Value 1 (Number)

Copy of In Value, port is set second


Out Value 2 (Number)

Copy of In Value, port is set third


Out Value 3 (Number)

Copy of In Value, port is set fourth


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

NumberSequence Example

The NumberSequence op is useful when you need to define the flow of a value (the order in which ops gets updated about the new value). Think about a Sequence op for values here.
First the left value out port is executed (sets the variable "myValue"), then the second one (sets the variable "anotherVariable"), …, at the end the trigger port triggers.

This is a very special op and you will probably need it rarely, only when from one outgoing value multiple should happen in a certain order.

Open Example In Editor


Patches using NumberSequence

Changelog


Ops.Value.ValueHub renamed to Ops.Value.NumberSequence
2019-11-05 - pandur