User Tools

Site Tools


conditional_expression_builder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
conditional_expression_builder [2017/08/08 10:29] justinconditional_expression_builder [2017/08/08 10:31] (current) justin
Line 2: Line 2:
 ---- ----
  
-The **Conditional Expression Builder** is a tool that allows you to easily build a conditional expression from lists of supported components. This dialog is accessed by editing a Condition node in the [[Dialogue Editor]]. In order to build an expression, select an element from the list on the left, a comparison operator from the center list, and a value to check for or compare against from the list on the right.+The **Conditional Expression Builder** is a tool that allows you to easily build a conditional expression from lists of supported components. This dialog is accessed by editing a Condition node in the [[Dialogue Editor]] or [[Script Editor]]. In order to build an expression, select an element from the list on the left, a comparison operator from the center list, and a value to check for or compare against from the list on the right.
  
 {{:wiki:cond_expr_builder.png?nolink|}} {{:wiki:cond_expr_builder.png?nolink|}}
  
-As shown in the example above, the expression that was built will check to see if the "visited" property of self (i.e. the initiating NPC) is set to "true". In addition to using this wizard-type method of building the expression, you can also directly edit the expression in the text field at the top of the dialog. The icon to the right of the text field will indicate whether the expression is valid ({{:wiki:accept.png?nolink|}}) or invalid ({{:wiki:exclamation.png?nolink|}}).+As shown in the example above, the expression that was built will check to see if the "visited" property of self (i.e. the initiating entity) is set to "true". In addition to using this wizard-type method of building the expression, you can also directly edit the expression in the text field at the top of the dialog. The icon to the right of the text field will indicate whether the expression is valid ({{:wiki:accept.png?nolink|}}) or invalid ({{:wiki:exclamation.png?nolink|}}).
  
 <WRAP center round info 100%> <WRAP center round info 100%>
conditional_expression_builder.txt · Last modified: 2017/08/08 10:31 by justin