Difference between revisions of "Updates Delay (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<languages></languages>
 
<languages></languages>
 
<translate>
 
<translate>
The '''Updates Delay''' node is used to fire an impulse after a number of frame updates specified by the Updates input.
+
<!--T:1-->
 +
{{Infobox Logix Node
 +
| Name = Updates Delay
 +
| Image =[[File: UpdatesDelayNodeNode.png | noframe | 128px | 'Updates Delay' LogiX node ]]
 +
| Input0Type = Impulse | Input0Name = Trigger
 +
| Input1Type = Int | Input1Name = Updates
 +
| Output0Type = Impulse | Output0Name = Impulse
 +
| Output1Type = Impulse | Output1Name = OnTrigger
 +
}}
  
<!--[[File:|border|256px|right]]-->
+
<!--T:2-->
 +
The '''Updates Delay''' node is used to fire an impulse from <code>Impulse</code> after a number of frame updates greater than or equal to <code>Updates</code> have completed following an impulse received at <code>Trigger</code>.
  
== Inputs & Outputs ==
+
== Usage == <!--T:3-->
{| class="wikitable"
+
The <code>Updates</code> input sets the number of frame updates which must complete before the delayed impulse is fired from <code>Impulse</code>. The default value is 1.
|+Inputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Trigger
 
| [[:LogiX:Impulses|Impulse]]
 
|-
 
| style="background-color:{{Int-color}}" |
 
| Updates
 
| [[:Category:Types:Int|Integer]]
 
|}
 
  
{| class="wikitable"
 
|+Outputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Impulse
 
| [[:LogiX:Impulses|Impulse]]
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| OnTrigger
 
| [[:LogiX:Impulses|Impulse]]
 
|}
 
  
== Usage ==
+
<!--T:6-->
OnTrigger fires an impulse immediately after an impulse is received at Trigger. The Impulse output provides the delayed impulse - this defaults to firing one frame after the input Trigger impulse is received.
+
The <code>OnTrigger</code> output fires an impulse immediately after an impulse is received at <code>Trigger</code>. This continues the impulse chain which arrived at <code>Trigger</code>.
  
If instead the aim is to delay an impulse by a specified number of seconds, use the [[Delay (LogiX node)|Delay]] node.
 
== Examples ==
 
  
== Node Menu ==
+
<!--T:7-->
 +
The delayed impulses do not continue the impulse chain which arrived at <code>Trigger</code> and any temporary values present will have been lost - if a temporary value must be stored until the delayed impulse is fired use [[Updates Delay With Value (LogiX node)|Updates Delay With Value]]. Each impulse which arrives at <code>Trigger</code> sets up a separate delayed impulse and multiple can be queued at once with different delay durations.
 +
 
 +
== Examples == <!--T:4-->
 +
 
 +
== Node Menu == <!--T:5-->
 
</translate>
 
</translate>
  
[[Category:LogiX|Updates Delay]]
+
[[Category:LogiX{{#translation:}}|Updates Delay]]
[[Category:LogiX: Flow|Updates Delay]]
+
[[Category:LogiX:Flow{{#translation:}}|Updates Delay]]
 
{{:NodeMenu-Flow}}
 
{{:NodeMenu-Flow}}

Latest revision as of 14:31, 19 February 2022

Other languages:
English • ‎日本語
Updates Delay
'Updates Delay' LogiX node
Inputs
  Impulse Trigger
  Int Updates
Outputs
  Impulse Impulse
  Impulse OnTrigger

The Updates Delay node is used to fire an impulse from Impulse after a number of frame updates greater than or equal to Updates have completed following an impulse received at Trigger.

Usage

The Updates input sets the number of frame updates which must complete before the delayed impulse is fired from Impulse. The default value is 1.


The OnTrigger output fires an impulse immediately after an impulse is received at Trigger. This continues the impulse chain which arrived at Trigger.


The delayed impulses do not continue the impulse chain which arrived at Trigger and any temporary values present will have been lost - if a temporary value must be stored until the delayed impulse is fired use Updates Delay With Value. Each impulse which arrives at Trigger sets up a separate delayed impulse and multiple can be queued at once with different delay durations.

Examples

Node Menu

Flow
Back Events Boolean Latch Delay Delay With Value Dynamic Impulse Receiver Dynamic Impulse Receiver With Value`1
Dynamic Impulse Trigger Dynamic Impulse Trigger With Value`1 Fire On Change Fire On False Fire On True Fire While True For
If Impulse Demultiplexer Impulse Multiplexer Local Fire On Change`1 Local Fire On False Local Fire On True Local Impulse Timeout
Local Leaky Impulse Bucket One Per Frame Pulse Random Sequence Timer Update Updates Delay
Updates Delay With Value While