Difference between revisions of "-- (LogiX node) (Actions)"
Jump to navigation
Jump to search
(Marked this version for translation) |
(Resize image and update category) |
||
Line 5: | Line 5: | ||
{{Infobox Logix Node | {{Infobox Logix Node | ||
| Name = -- | | Name = -- | ||
− | | Image =[[File: DecrementByteNodeNode.png | noframe | | + | | Image =[[File: DecrementByteNodeNode.png | noframe | 128px | '--' LogiX node ]] |
| Input0Type = Impulse | Input0Name = Decrement | | Input0Type = Impulse | Input0Name = Decrement | ||
| Output0Type = IValue`1 | Output0Name = Target | | Output0Type = IValue`1 | Output0Name = Target | ||
Line 20: | Line 20: | ||
== Node Menu == <!--T:5--> | == Node Menu == <!--T:5--> | ||
− | |||
</translate> | </translate> | ||
[[Category:LogiX{{#translation:}}|--]] | [[Category:LogiX{{#translation:}}|--]] | ||
− | [[Category:LogiX: Actions{{#translation:}}|--]] | + | [[Category:LogiX:Actions{{#translation:}}|--]] |
+ | {{:NodeMenu-Actions{{#translation:}}}} |
Revision as of 20:12, 5 July 2021
-- | ||
---|---|---|
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 |