Skip to main content

TextLookupDictionaryEntry

A text substitution dictionary entry with text lookup functionality. Any occurrences of the given Tag string in the associated message will be replaced with the Text from the dictionary entry, but only after a text lookup has been done on the Text, meaning that if the text has localisations, the localised version will be used. The text will be looked up against Dialog_Player.csv. For example, given the message:

Hello, {GreetingObjectName}!

And the TextLookupDictionaryEntry:

{Tag: "GreetingObjectName", TextToLookup: "WorldObject"}

And the following in Dialog_Player.csv:

WorldObject,,,World,,

The text to lookup ("WorldObject") would be looked up against Dialog_Player.csv, resolving to "World". This would then be used to replace the tag "GreetingObjectName" in the message, resulting in:

Hello, World!

Hierarchy

Index

Properties

Properties

Tag

Tag: string

The tag that will be replaced in the message

TextToLookUp

TextToLookUp: string

The text whose lookup will be substituted for the tag

Page Options