User Tools

Site Tools


variable_expression_builder

This is an old revision of the document!


Variable Expression Builder


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 particular 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.

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 () or invalid ().

Refer to the Variable Expression page for more information on the structure of variable expressions and a few examples.

variable_expression_builder.1502990415.txt.gz · Last modified: 2017/08/17 10:20 by justin