User Tools

Site Tools


variable_expression_builder

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
variable_expression_builder [2017/08/17 10:41] justinvariable_expression_builder [2017/08/17 10:42] (current) justin
Line 2: Line 2:
 ---- ----
  
-The **Variable Expression Builder** is a tool that allows you to easily build a variable expression from a list of supported types. This dialog is accessed by editing applicable function parameters in the [[Script Editor]], like the property value for the [[Set Entity Property]] and [[Set Global Property]] functions. In order to build an expression, select a type from the list on the left and then plug in or select the desired value on the right.+The **Variable Expression Builder** is a tool that allows you to easily build a variable expression from a list of supported types. This dialog is accessed by editing applicable function parameters in the [[Script Editor]], like the property value of the [[Set Entity Property]] and [[Set Global Property]] functions. In order to build an expression, select a type from the list on the left and then plug in/select the desired value on the right.
  
 {{:wiki:var_expr_builder.png?nolink|}} {{:wiki:var_expr_builder.png?nolink|}}
  
-When the game evaluates the expression in the example above, it will check for the entity with an ID of "id" and retrieve the value assigned to property "prop_name". 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|}}).+When the game evaluates the expression in the example above, it will check for a global property named "gems_collected" and retrieve its value. 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%>
variable_expression_builder.1502991695.txt.gz · Last modified: 2017/08/17 10:41 by justin