This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
placeholder_expression [2021/04/11 20:46] – justin | placeholder_expression [2021/04/21 20:23] (current) – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
**Placeholder expressions** provide a way to insert dynamic values into [[string|strings]] that will get evaluated at game runtime for displaying to the player or printing to the [[developer console]]. Generally, any sort of expression that can be stored into a variable can also be used in a placeholder expression. | **Placeholder expressions** provide a way to insert dynamic values into [[string|strings]] that will get evaluated at game runtime for displaying to the player or printing to the [[developer console]]. Generally, any sort of expression that can be stored into a variable can also be used in a placeholder expression. | ||
- | <WRAP center round important | + | <WRAP center round info 100%> |
Since placeholder expressions are parsed during a [[script|script' | Since placeholder expressions are parsed during a [[script|script' | ||
</ | </ | ||
Line 18: | Line 18: | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | display_message(" | + | display_message(" |
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |