Difference between revisions of "Delay (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
(Add information on delayed impulse behaviour when a user leaves)
(Marked this version for translation)
Line 18: Line 18:
  
  
 +
<!--T:6-->
 
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>.
 
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>.
  
  
 +
<!--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 [[Delay With Value (LogiX node)|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. If a user focuses a different world while they have delayed impulses queued, the delayed impulses will fire as normal. However, if a user with delayed impulses leave the world entirely, their delayed impulses will never fire.
 
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 [[Delay With Value (LogiX node)|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. If a user focuses a different world while they have delayed impulses queued, the delayed impulses will fire as normal. However, if a user with delayed impulses leave the world entirely, their delayed impulses will never fire.
  

Revision as of 07:59, 12 February 2022

Other languages:
English • ‎日本語 • ‎한국어
Delay
'Delay' LogiX node
Inputs
  Impulse Trigger
  Float Delay
Outputs
  Impulse Impulse
  Impulse OnTrigger

The Delay node is used to fire an impulse from Impulse after Delay seconds have elapsed following an impulse received at Trigger.

Usage

The Delay input sets the number of seconds which must elapse before the delayed impulse is fired from Impulse. The default value is 0 which results in a delay of 1 frame update.


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 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. If a user focuses a different world while they have delayed impulses queued, the delayed impulses will fire as normal. However, if a user with delayed impulses leave the world entirely, their delayed impulses will never fire.

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