This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
placeholder_expression [2017/06/01 08:50] – justin | placeholder_expression [2017/06/01 08:54] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | **Placeholder expressions** provide a way to insert dynamic values into [[string|strings]] that will get evaluated at game runtime. Examples of supported values include entity properties, global properties, and arithmetical expressions. | + | **Placeholder expressions** provide a way to insert dynamic values into [[string|strings]] that will get evaluated at game runtime. Examples of supported values include entity properties, global properties, and arithmetical expressions. |
- | In regards to usage, the expression must be enclosed using the following syntax, which consists | + | In regards to usage, the expression must be enclosed using the following syntax |
<code lua> | <code lua> | ||
Line 14: | Line 14: | ||
====Example: | ====Example: | ||
<code lua> | <code lua> | ||
- | display_message(" | + | display_message(" |
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |