Skip to content

Logic Counter

Henry de Jongh edited this page Mar 7, 2023 · 8 revisions
Description Icon
A reactive logic component that stores, manipulates and outputs a numerical value.

Parameters

Name Description
Current Value The initial and current value of the counter.

Inputs

Name Description Parameter
Add Adds the float parameter to the counter without invoking the output. amount (float) The number to be added to the counter.
AddInvoke Adds the float parameter to the counter and invokes the output with the result. amount (float) The number to be added to the counter.
Multiply Multiplies the counter by the float parameter without invoking the output. amount (float) The number to multiply the counter with.
MultiplyInvoke Multiplies the counter by the float parameter and invokes the output. amount (float) The number to multiply the counter with.
Divide Divides the counter by the float parameter without invoking the output. If this causes a division by zero then the counter value will be unchanged. amount (float) The number to divide the counter with.
DivideInvoke Divides the counter by the float parameter and invokes the output. If this causes a division by zero then the counter value will be unchanged. amount (float) The number to divide the counter with.
Subtract Subtracts the float parameter from the counter without invoking the output. amount (float) The number to be subtracted from the counter.
SubtractInvoke Subtracts the float parameter from the counter and invokes the output with the result. amount (float) The number to be subtracted from the counter.
SetValue Sets the counter to the float parameter without invoking the output. amount (float) The number the counter will be set to.
SetValueInvoke Sets the counter to the float parameter and invokes the output with the result. amount (float) The number the counter will be set to.
Invoke Invokes the output with the current value of the counter.

Outputs

Name Description Parameter
Invoked Invoked when an operation on the current value of the counter finished. parameter (float) The current value of the counter.
Clone this wiki locally