added indirect decrement page |
m forgot a word still saying written |
||
Line 26: | Line 26: | ||
Call this to write the value. | Call this to write the value. | ||
=== Variable ([[Type:Variable|Variable]] Generic)=== | === Variable ([[Type:Variable|Variable]] Generic)=== | ||
Line 36: | Line 35: | ||
=== OnWritten (Continuation) === | === OnWritten (Continuation) === | ||
sends an impulse after * (Call) has been impulsed and the value has been | sends an impulse after * (Call) has been impulsed and the value has been decremented . | ||
=== OnFail (Continuation) === | === OnFail (Continuation) === |
Revision as of 01:07, 3 February 2024
Indirect decrements can be commonly found in legacy content that has been migrated from other platforms. Indirect decrements take Variable (Variable) as an input, and will decrease the value that is wrapped by Variable (Variable) by one.
This is also useful for Multiplexing multiple variables into the Variable (Variable) connection on the indirect decrement, which can be useful to reduce the nodes needed to decrease the values of a set list of variables during a For or While loop.
Inputs
* (Call)
Call this to write the value.
Variable (Variable Generic)
The Variable to decrement by 1.
Outputs
OnWritten (Continuation)
sends an impulse after * (Call) has been impulsed and the value has been decremented .
OnFail (Continuation)
sends an impulse after * (Call) has been impulsed and the value wasn't able to be decremented due to a missing target or the variable not wrapping a valid IField`1
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.