SwitchNumberOnTrigger Op

SwitchNumberOnTrigger

Sets a specific output value on trigger


Trigger any of the trigger ports to set a specific value. Can be easily used with Ops.Anim.SimpleAnim to animate the value change.


Full Name
  • Ops.Number.SwitchNumberOnTrigger
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub








No op example found on this server

INPUT PORTS


Trigger 0 (Trigger)

When triggered Value 0 is used

Value 0 (Number)

The value to use when Trigger 0 was triggered

Trigger 1 (Trigger)

When triggered Value 1 is used

Value 1 (Number)

The value to use when Trigger 1 was triggered

Trigger 2 (Trigger)

When triggered Value 2 is used

Value 2 (Number)

The value to use when Trigger 2 was triggered

Trigger 3 (Trigger)

When triggered Value 3 is used

Value 3 (Number)

The value to use when Trigger 3 was triggered

Trigger 4 (Trigger)

When triggered Value 4 is used

Value 4 (Number)

The value to use when Trigger 4 was triggered

Trigger 5 (Trigger)

When triggered Value 5 is used

Value 5 (Number)

The value to use when Trigger 5 was triggered

Trigger 6 (Trigger)

When triggered Value 6 is used

Value 6 (Number)

The value to use when Trigger 6 was triggered

Trigger 7 (Trigger)

When triggered Value 7 is used

Value 7 (Number)

The value to use when Trigger 7 was triggered

Default Value (Number:string )

Set at the beginning, before any of the trigger ports were triggered

OUTPUT PORTS


Value (Number)

The value of the most recent input port which was triggered

Last Value (Number)

The value before the last trigger

Triggered (Trigger)

Triggers after any of the input ports were triggered


Patches using SwitchNumberOnTrigger

  • Examples
  • Public
  • My Patches

Changelog


Ops.Value.ValueSwitcherTrigger renamed to Ops.Value.SwitchNumberByTriggeruser avatarpandur - 2019-06-12 12:27
Ops.Value.SwitchNumberByTrigger renamed to Ops.Value.SwitchNumberOnTriggeruser avatarpandur - 2019-06-12 12:28
renameOps.Value.SwitchNumberOnTrigger renamed to Ops.Number.SwitchNumberOnTriggeruser avatarpandur - 2023-12-06 10:04