This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
placeholder_expression [2017/06/01 08:08] – justin | placeholder_expression [2021/04/11 21:00] – 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 |
+ | |||
+ | <WRAP center round info 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: | ||
+ | |||
+ | <code bauxite> | ||
+ | ${expression} | ||
+ | </ | ||
+ | |||
+ | As with [[string|strings]], | ||
====Example: | ====Example: | ||
- | < | + | < |
- | display_message(" | + | display_message(" |
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |