Difference between revisions of "If (LogiX node)"
Jump to navigation
Jump to search
m (More formatting) |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <languages></languages> |
− | {| | + | <translate> |
− | + | <!--T:1--> | |
− | | | + | {{Infobox Logix Node |
− | | | + | | Name = If |
− | | | + | | Image =[[File: IfNodeNode.png | noframe | 128px | 'If' LogiX node ]] |
− | | | + | | Input0Type = Impulse | Input0Name = Run |
− | | | + | | Input1Type = Bool | Input1Name = Condition |
− | | | + | | Output0Type = Impulse | Output0Name = True |
− | | | + | | Output1Type = Impulse | Output1Name = False |
− | | | + | }} |
− | + | ||
− | + | <!--T:2--> | |
− | + | The '''If''' node fires an impulse from one of two outputs dependent on the <code>Condition</code> when an impulse is received at <code>Run</code>. | |
− | + | ||
− | == | + | == Usage == <!--T:3--> |
− | + | Upon receiving an impulse at <code>Run</code>, an impulse is fired from </code>True</code> if </code>Condition</code> is True or from <code>False</code> if <code>Condition</code> is False. The default <code>Condition</code> value is <code>False</code>. | |
− | < | + | |
+ | == Examples == <!--T:4--> | ||
+ | |||
+ | == Node Menu == <!--T:5--> | ||
+ | </translate> | ||
+ | |||
+ | [[Category:LogiX{{#translation:}}|If]] | ||
+ | [[Category:LogiX:Flow{{#translation:}}|If]] | ||
+ | {{:NodeMenu-Flow}} |
Latest revision as of 14:26, 19 February 2022
If | ||
---|---|---|
Inputs | ||
Impulse | Run | |
Bool | Condition | |
Outputs | ||
Impulse | True | |
Impulse | False |
The If node fires an impulse from one of two outputs dependent on the Condition
when an impulse is received at Run
.
Usage
Upon receiving an impulse at Run
, an impulse is fired from True if Condition is True or from False
if Condition
is False. The default Condition
value is False
.