This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
variable_expression_builder [2017/08/17 10:41] – justin | variable_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. |
{{: | {{: | ||
- | When the game evaluates the expression in the example above, it will check for the entity with an ID of "id" and retrieve | + | When the game evaluates the expression in the example above, it will check for a global property named "gems_collected" and retrieve |
<WRAP center round info 100%> | <WRAP center round info 100%> |