SwitchNumberOnTrigger Op

SwitchNumberOnTrigger

Sets a specific output value on trigger


<p>Trigger any of the trigger ports to set a specific value. Can be easily used with <a href="/op/Ops.Anim.SimpleAnim">Ops.Anim.SimpleAnim</a> to animate the value change.</p>


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)

<p>When triggered <code>Value 0</code> is used</p>

Value 0 (Number)

<p>The value to use when <code>Trigger 0</code> was triggered</p>

Trigger 1 (Trigger)

<p>When triggered <code>Value 1</code> is used</p>

Value 1 (Number)

<p>The value to use when <code>Trigger 1</code> was triggered</p>

Trigger 2 (Trigger)

<p>When triggered <code>Value 2</code> is used</p>

Value 2 (Number)

<p>The value to use when <code>Trigger 2</code> was triggered</p>

Trigger 3 (Trigger)

<p>When triggered <code>Value 3</code> is used</p>

Value 3 (Number)

<p>The value to use when <code>Trigger 3</code> was triggered</p>

Trigger 4 (Trigger)

<p>When triggered <code>Value 4</code> is used</p>

Value 4 (Number)

<p>The value to use when <code>Trigger 4</code> was triggered</p>

Trigger 5 (Trigger)

<p>When triggered <code>Value 5</code> is used</p>

Value 5 (Number)

<p>The value to use when <code>Trigger 5</code> was triggered</p>

Trigger 6 (Trigger)

<p>When triggered <code>Value 6</code> is used</p>

Value 6 (Number)

<p>The value to use when <code>Trigger 6</code> was triggered</p>

Trigger 7 (Trigger)

<p>When triggered <code>Value 7</code> is used</p>

Value 7 (Number)

<p>The value to use when <code>Trigger 7</code> was triggered</p>

Default Value (Number:

<i>string</i>

)

<p>Set at the beginning, before any of the trigger ports were triggered</p>

OUTPUT PORTS


Value (Number)

<p>The value of the most recent input port which was triggered</p>

Last Value (Number)

<p>The value before the last trigger</p>

Triggered (Trigger)

<p>Triggers after any of the input ports were triggered</p>


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