Tags

It is possible to display variables as part of a dialogue message or as part of the description of a quest.

To set the variable, use NarrativeEffects: Custom Int, Custom String, Custom Float, or Quest Value.

Or alternatively, you can also call one of the functions inside NarrativeData.

NarrativeData.Get().SetCustomInt("kill_count", 5);

To display the value in a DialogueMessage, use this tag

[i:kill_count]

For example

Here is how to display each type of variable

Custom Int

[i:variable_id]

Custom Float

[f:variable_id]

Custom String

[s:variable_id]

Quest Value

[q:quest_id:variable_id]

Actor Relation

[a:actor_id]

Last updated