User Tools

Site Tools


placeholder_expression

This is an old revision of the document!


Placeholder Expression


A placeholder expression is a scripting data type consisting of a string of characters enclosed by double quotes on each end. Strings are typically used to represent a message, for example in the Display Message function, or when referencing an entity name or property name within a script. Placeholder expressions can be used within a string as a way to generate dynamic values at game runtime.

Example:

display_message("Hello world! This is a string. ${global.property[\"test\"]}")
placeholder_expression.1496326139.txt.gz · Last modified: 2017/06/01 07:08 by justin