From 3e83975f377c80dfabfa6696ed3761d9bdf83999 Mon Sep 17 00:00:00 2001 From: Cake <65981767+CakeVR@users.noreply.github.com> Date: Sun, 26 May 2024 10:33:05 +0200 Subject: [PATCH] Add Information about Dialogic Variables in Save Games. --- documentation/saving-and-loading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/saving-and-loading.md b/documentation/saving-and-loading.md index 351eb52..9d1f8aa 100644 --- a/documentation/saving-and-loading.md +++ b/documentation/saving-and-loading.md @@ -54,7 +54,7 @@ This snippet will automatically take the thumbnail saved at `Dialogic.Save.last_ ## 1.2 Saving Extra Info -By default, Savegames contain information about Dialogic's timeline only. If you want to store specific information, we can achieve this by using `Dialogic.Save.set_slot_info(slot_name:String, info: Dictionary)` and `Dialogic.Save.get_slot_info(slot_name: String)` methods. \ +By default, Savegames contain information about Dialogic's timeline and Dialogic variables. If you want to store specific information, we can achieve this by using `Dialogic.Save.set_slot_info(slot_name:String, info: Dictionary)` and `Dialogic.Save.get_slot_info(slot_name: String)` methods. \ However, the `Dialogic.Save.save(...)` method can simplify our work and skip calling the set method. In the following code snippet, we will save the last used text line and the current time as extra information.