Difference between revisions of "-- (LogiX node) (Actions)"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<languages></languages> | <languages></languages> | ||
<translate> | <translate> | ||
+ | |||
+ | <!--T:1--> | ||
{{Infobox Logix Node | {{Infobox Logix Node | ||
| Name = -- | | Name = -- | ||
Line 8: | Line 10: | ||
| Output1Type = Impulse | Output1Name = OnDone | | Output1Type = Impulse | Output1Name = OnDone | ||
}} | }} | ||
− | <!--T: | + | |
+ | <!--T:2--> | ||
== Intoduction == | == Intoduction == | ||
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: | + | <!--T:3--> |
== Usage == | == Usage == | ||
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. | ||
− | <!--T: | + | <!--T:4--> |
== Examples == | == Examples == | ||
− | <!--T: | + | <!--T:5--> |
== Node Menu == | == Node Menu == | ||
</translate> | </translate> |
Revision as of 23:04, 16 November 2020
-- | ||
---|---|---|
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 |