Logic Branch

An actor that tests a boolean value and fires the appropriate true or false output event. Use this to branch between two potential outcomes.

Events
Description
Named Arguments

OnTrue

Event when the stored boolean value is true when 'Test' is called.

$Value: Current value

OnFalse

Event when the stored boolean value is false when 'Test' is called.

$Value: Current value

Functions
Description
Parameters

SetValue

Set the boolean value without performing the comparison. Use this to hold a value for a future test.

<bool Value>

SetValueAndTest

Set the boolean value and test it, firing 'OnTrue' or 'OnFalse' based on the new value.

<bool Value>

Toggle

Toggle the boolean value between true and false without performing the comparison.

-

ToggleAndTest

Toggle the boolean value and test it, firing 'OnTrue' or 'OnFalse' based on the new value.

-

Test

Test the boolean value and fire 'OnTrue' or 'OnFalse' based on the value.

-

Last updated