Difference between revisions of "-- (LogiX node) (Actions)"

From Neos Wiki
Jump to navigation Jump to search
(Marked this version for translation)
m
Line 1: Line 1:
 
<languages></languages>
 
<languages></languages>
 
<translate>
 
<translate>
<!--T:7-->
+
{{Infobox Logix Node
 +
| Name = --
 +
| Image =[[File: DecrementByteNodeNode.png | noframe | 256px | '--' LogiX node ]]
 +
| Input0Type = Impulse | Input0Name = Decrement
 +
| Output0Type = IValue`1 | Output0Name = Target
 +
| Output1Type = Impulse | Output1Name = OnDone
 +
}}
 +
== Intoduction == <!--T:2-->
 
The '''--''' node in the Actions category reduces the referenced target value by one when it receives an impulse.
 
The '''--''' node in the Actions category reduces the referenced target value by one when it receives an impulse.
  
<!--T:8-->
 
[[File:Action--.jpg|border|256px|right]]
 
  
== Inputs & Outputs == <!--T:9-->
+
== Usage == <!--T:3-->
{| class="wikitable"
 
|+Inputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| Decrement
 
| [[:LogiX:Impulses|Impulse]]
 
|}
 
 
 
<!--T:10-->
 
{| class="wikitable"
 
|+Outputs
 
|-
 
| Color
 
| Label
 
| Type
 
|-
 
| style="background-color:{{IValue-color}}" |
 
| Target
 
| [[:Category:Types:IValue`1|IValue<nowiki><T></nowiki>]]
 
|-
 
| style="background-color:{{Impulse-color}}" |
 
| OnDone
 
| [[:LogiX:Impulses|Impulse]]
 
|}
 
 
 
== Usage == <!--T:11-->
 
 
This node differs from the identically named [[-- (LogiX node) (Operators)|--]] node under Operators since it only makes changes when it receives an impulse. This makes it useful for decrementing a target value (e.g. one stored in a variable node or ValueField) in a way which is saved and synchronized across all users. If the aim is to decrement a value locally as part of a LogiX calculation the [[-- (LogiX node) (Operators)]] is likely the better choice.
 
This node differs from the identically named [[-- (LogiX node) (Operators)|--]] node under Operators since it only makes changes when it receives an impulse. This makes it useful for decrementing a target value (e.g. one stored in a variable node or ValueField) in a way which is saved and synchronized across all users. If the aim is to decrement a value locally as part of a LogiX calculation the [[-- (LogiX node) (Operators)]] is likely the better choice.
 
== Examples ==
 
== Examples ==
  
== Node Menu == <!--T:12-->
+
== Node Menu == <!--T:4-->
 
</translate>
 
</translate>
  

Revision as of 23:00, 16 November 2020

Other languages:
English • ‎日本語 • ‎한국어
--
'--' LogiX node
Inputs
  Impulse Decrement
Outputs
  IValue`1 Target
  Impulse OnDone

Intoduction

The -- node in the Actions category reduces the referenced target value by one when it receives an impulse.


Usage

This node differs from the identically named -- node under Operators since it only makes changes when it receives an impulse. This makes it useful for decrementing a target value (e.g. one stored in a variable node or ValueField) in a way which is saved and synchronized across all users. If the aim is to decrement a value locally as part of a LogiX calculation the -- (LogiX node) (Operators) is likely the better choice.

Examples

Node Menu

Actions
Back -- ++ Drive Drive Playback Tween Write
Write Latch Write Ref Write Ref Latch