Difference between revisions of "Dynamic Impulse Trigger With Value`1 (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<translate>
 
<translate>
 
<!--T:1-->
 
<!--T:1-->
The '''Dynamic Impulse Trigger With Value`1''' node triggers any [[Dynamic Impulse Receiver With Value`1 (LogiX node)|Dynamic Impulse Receiver With Value`1]] nodes present under the trigger's input TargetHierarchy. This will only occur if the Tag string inputs and of the trigger and receiver are identical. The data types of input and output Values must also match.
+
{{Infobox Logix Node
 +
| Name = Dynamic Impulse Trigger With Value`1
 +
| Image =[[File: DynamicImpulseTriggerWithValue`1Node.png | noframe | 128px | 'Dynamic Impulse Trigger With Value`1' LogiX node ]]
 +
| Input0Type = Impulse | Input0Name = Run
 +
| Input1Type = String | Input1Name = Tag
 +
| Input2Type = Slot | Input2Name = TargetHierarchy
 +
| Input3Type = Bool | Input3Name = ExcludeDisabled
 +
| Input4Type = Float | Input4Name = Value
 +
| Output0Type = Impulse | Output0Name = OnTriggered
 +
}}
  
 
<!--T:2-->
 
<!--T:2-->
<!--[[File:|border|256px|right]]-->
+
The '''Dynamic Impulse Trigger With Value`1''' node sends a dynamic impulse when an impulse is received at <code>Run</code> which triggers any [[Dynamic Impulse Receiver With Value`1 (LogiX node)|Dynamic Impulse Receiver]] nodes (with the same <code>Value</code> datatype) present under the input <code>TargetHierarchy</code> whose <code>Tag</code> input matches that on the Dynamic Impulse Trigger With Value`1.
  
== Inputs & Outputs == <!--T:3-->
+
== Usage == <!--T:3-->
{| class="wikitable"
+
The <code>ExcludeDisabled</code> input determines whether [[Dynamic Impulse Receiver With Value`1 (LogiX node)|Dynamic Impulse Receiver With Value`1]] nodes present on inactive slots will be triggered. Default is False, meaning that all valid receivers may be triggered.
|+Inputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Run
 
| [[:LogiX:Impulses|Impulse]]
 
|-
 
| style="background-color:{{String-color}}" |
 
| Tag
 
| [[:Category:Types:String|String]]
 
|-
 
| style="background-color:{{Slot-color}}" |
 
| TargetHierarchy
 
| [[:Category:Types:Slot|Slot]]
 
|-
 
| style="background-color:{{Boolean-color}}" |
 
| ExcludeDisabled
 
| [[:Category:Types:Bool|Boolean]]
 
|-
 
| style="background-color:{{Dummy-color}}" |
 
| Value
 
| dummy
 
|}
 
  
<!--T:4-->
 
{| class="wikitable"
 
|+Outputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| OnTriggered
 
| [[:LogiX:Impulses|Impulse]]
 
|}
 
  
== Usage == <!--T:5-->
+
<!--T:9-->
Note that the tag system for dynamic impulse triggers / receivers is completely unrelated to slot tag properties. When an impulse is received at Run, this node starts a descending search for any Dynamic Impulse Receiver With Value`1 nodes present under the TargetHierarchy. All such receiver nodes with Tags matching the trigger Tag ''and'' matching Value data types will fire an impulse. The hierarchy search is highly efficient, however it is best to set the input TargetHierarchy as close to the intended target node as possible to minimize performance costs. When spawned the Value input for this node has an unset dummy data type, this will recast when an valid input is connected.
+
The <code>OnTriggered</code> output fires an impulse after any impulse chains triggered from Dynamic Impulse Receiver With Value`1 nodes have completed. This continues the impulse chain which arrived at <code>Run</code>
  
This node will only trigger Dynamic Impulse Receiver With Value`1 nodes - [[Dynamic Impulse Receiver (LogiX node)|Dynamic Impulse Receiver]] nodes will be unaffected.
 
== Examples == <!--T:6-->
 
  
== Node Menu == <!--T:7-->
+
<!--T:10-->
 +
Note that the tag system for dynamic impulse triggers / receivers is completely unrelated to slot tag properties. When an impulse is received at <code>Run</code>, this node starts a descending search for any [[Dynamic Impulse Receiver With Value`1 (LogiX node)|Dynamic Impulse Receiver With Value`1]] nodes present under the <code>TargetHierarchy</code> whose <code>Value</code> datatype matches that of the trigger. All such receiver nodes with <code>Tag</code> inputs matching the trigger <code>Tag</code> will fire an impulse. Note that [[Dynamic Impulse Receiver (LogiX node)|Dynamic Impulse Receiver]] nodes will be ignored. The hierarchy search is highly efficient, however it is best to set the input <code>TargetHierarchy</code> as close to the intended target node as possible to minimize performance costs.
 +
 
 +
== Examples == <!--T:4-->
 +
ProbablePrime has a tutorial on dynamic impulses.
 +
<youtube>https://www.youtube.com/watch?v=6A0GQ4iABfY</youtube>
 +
 
 +
== Node Menu == <!--T:5-->
 
</translate>
 
</translate>
  
 
[[Category:LogiX{{#translation:}}|Dynamic Impulse Trigger With Value`1]]
 
[[Category:LogiX{{#translation:}}|Dynamic Impulse Trigger With Value`1]]
[[Category:LogiX: Flow{{#translation:}}|Dynamic Impulse Trigger With Value`1]]
+
[[Category:LogiX:Flow{{#translation:}}|Dynamic Impulse Trigger With Value`1]]
{{:NodeMenu-Flow}}
+
{{:NodeMenu-Flow}}}

Latest revision as of 14:22, 19 February 2022

Other languages:
English • ‎日本語 • ‎한국어
Dynamic Impulse Trigger With Value`1
'Dynamic Impulse Trigger With Value`1' LogiX node
Inputs
  Impulse Run
  String Tag
  Slot TargetHierarchy
  Bool ExcludeDisabled
  Float Value
Outputs
  Impulse OnTriggered

The Dynamic Impulse Trigger With Value`1 node sends a dynamic impulse when an impulse is received at Run which triggers any Dynamic Impulse Receiver nodes (with the same Value datatype) present under the input TargetHierarchy whose Tag input matches that on the Dynamic Impulse Trigger With Value`1.

Usage

The ExcludeDisabled input determines whether Dynamic Impulse Receiver With Value`1 nodes present on inactive slots will be triggered. Default is False, meaning that all valid receivers may be triggered.


The OnTriggered output fires an impulse after any impulse chains triggered from Dynamic Impulse Receiver With Value`1 nodes have completed. This continues the impulse chain which arrived at Run


Note that the tag system for dynamic impulse triggers / receivers is completely unrelated to slot tag properties. When an impulse is received at Run, this node starts a descending search for any Dynamic Impulse Receiver With Value`1 nodes present under the TargetHierarchy whose Value datatype matches that of the trigger. All such receiver nodes with Tag inputs matching the trigger Tag will fire an impulse. Note that Dynamic Impulse Receiver nodes will be ignored. The hierarchy search is highly efficient, however it is best to set the input TargetHierarchy as close to the intended target node as possible to minimize performance costs.

Examples

ProbablePrime has a tutorial on dynamic impulses.

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

}