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:34] – justin | placeholder_expression [2021/04/11 20:43] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | **Placeholder expressions** provide a way to insert dynamic values into [[string|strings]] that will get evaluated at game runtime. | + | **Placeholder expressions** provide a way to insert dynamic values into [[string|strings]] that will get evaluated at game runtime |
- | The expression must be enclosed using the following syntax, which consists of a dollar sign and curly braces: | + | <WRAP center round important 100%> |
+ | Since placeholder expressions are parsed during a [[script|script' | ||
+ | </ | ||
- | < | + | In regards to usage, the expression must be enclosed using the following syntax consisting of a dollar sign and curly braces: |
+ | |||
+ | < | ||
${expression} | ${expression} | ||
</ | </ | ||
- | As with [[string|strings]], | + | As with [[string|strings]], |
====Example: | ====Example: | ||
- | < | + | < |
- | display_message(" | + | display_message(" |
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |