summaryrefslogtreecommitdiff
path: root/doc/classes/VisualScriptCondition.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/VisualScriptCondition.xml')
-rw-r--r--doc/classes/VisualScriptCondition.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/classes/VisualScriptCondition.xml b/doc/classes/VisualScriptCondition.xml
index de814a6b17..a776c9bc9b 100644
--- a/doc/classes/VisualScriptCondition.xml
+++ b/doc/classes/VisualScriptCondition.xml
@@ -4,7 +4,14 @@
A Visual Script node which branches the flow.
</brief_description>
<description>
- A Visual Script node which switches the flow based on a boolean. It acts similar to if/else in typical programming languages.
+ A Visual Script node that checks a [bool] input port. If [code]true[/code] it will exit via the “true” sequence port. If [code]false[/code] it will exit via the "false" sequence port. After exiting either, it exits via the “done” port. Sequence ports may be left disconnected.
+ [b]Input Ports:[/b]
+ - Sequence: [code]if (cond) is[/code]
+ - Data (boolean): [code]cond[/code]
+ [b]Output Ports:[/b]
+ - Sequence: [code]true[/code]
+ - Sequence: [code]false[/code]
+ - Sequence: [code]done[/code]
</description>
<tutorials>
</tutorials>