#command    | Dialogue command: {write dialogue async}                                                                     | 
#xcommand   | Ex-dialogue command: {write dialogue and image async}                                                        | 
#token      | Dialogue token code: {$standard}                                                                             | 
#define     | {normal} means {sheena_normal}.                                                                              | 
#define     | {smile} means {sheena_smile}.                                                                                | 
            |                                                                                                              | 
$sync       | change character image                                                                                       | 
            | Change the icon to {normal} immediately                                                                      | 
Sheena      | Hello. I'm Sheena, a ScenarioFlow instructor.                                                                | 
            |                                                                                                              | 
Sheena      | Today, we are going to learn about the two practical features in ScenarioFlow.                               | 
            |                                                                                                              | 
Sheena      | Are you ready?                                                                                               | 
            |                                                                                                              | 
$f-promised | show two selections async                                                                                    | 
            | {Yes!}                                                                                                       | 
            | --- Jump to {Q1-Yes}                                                                                         | 
            | {No. I'm busy now.}                                                                                          | 
            | --- Jump to {Q1-No}                                                                                          | 
            |                                                                                                              | 
#label      | //============ {Q1-No} ============//                                                                        | 
Sheena      | Ok, see you later!                                                                                           | 
            | --> Change the icon to {smile}                                                                               | 
$sync       | jump to label                                                                                                | 
            | Jump to {End}                                                                                                | 
            |                                                                                                              | 
#label      | //============ {Q1-Yes} ============//                                                                       | 
Sheena      | Great!                                                                                                       | 
            | --> Change the icon to {smile}                                                                               | 
            |                                                                                                              | 
#label      | //============ {explain label} ============//                                                                | 
$parallel   | change character image async                                                                                 | 
            | Change the icon to {normal} immediately                                                                      | 
Sheena      | The first one is 'label'. We use it to realize branching scenarios.                                          | 
            |                                                                                                              | 
Sheena      | To realize branching scenarios, first of all, we attach labels to commands.                                  | 
            |                                                                                                              | 
Sheena      | If we use SFText, we can attach labels to dialogue scopes and command scopes                                 | 
            | using '#label' macro scopes.                                                                                 | 
            |                                                                                                              | 
Sheena      | In C# side, we create a command for branching scenarios.                                                     | 
            |                                                                                                              | 
Sheena      | This command takes possible labels, determines the target label based on some sort of criterion,             | 
            | and then restarts the command execution from the command with the target label.                              | 
            |                                                                                                              | 
Sheena      | Finally, we can realize branching scenarios by calling this kind of command!                                 | 
            | --> Change the icon to {smile}                                                                               | 
            |                                                                                                              | 
Sheena      | Did you get it?                                                                                              | 
            |                                                                                                              | 
$f-promised | show two selections async                                                                                    | 
            | {Yes!}                                                                                                       | 
            | --- Jump to {Q2-Yes}                                                                                         | 
            | {No, could you repeat it again?}                                                                             | 
            | --- Jump to {Q2-No}                                                                                          | 
            |                                                                                                              | 
#label      | //============ {Q2-No} ============//                                                                        | 
Sheena      | Of course!                                                                                                   | 
            | --> Change the icon to {normal}                                                                              | 
$sync       | jump to label                                                                                                | 
            | Jump to {explain label}                                                                                      | 
            |                                                                                                              | 
#label      | //============ {Q2-Yes} ============//                                                                       | 
Sheena      | Great, so let's move on to the second feature.                                                               | 
            | --> Change the icon to {normal}                                                                              | 
            |                                                                                                              | 
#label      | //============ {explain skip mode} ============//                                                            | 
$parallel   | change character image async                                                                                 | 
            | Change the icon to {normal} immediately                                                                      | 
Sheena      | The second one is 'skip mode'. We use it to realize fast forwarding,                                         | 
            | which enables the player to skip reading a story.                                                            | 
            | --> Change the icon to {normal}                                                                              | 
            |                                                                                                              | 
Sheena      | While skip mode is enabled, every command is canceled immediately after it starts,                           | 
            | and the next command will start immediately after the cancellation.                                          | 
            |                                                                                                              | 
Sheena      | We can switch skip mode on and off with the 'IsActive' property of the 'ScenarioTaskExecutor' class.         | 
            |                                                                                                              | 
Sheena      | And we can change the interval of command calls during skip mode with the 'Duration' property of that class. | 
            |                                                                                                              | 
#token      | Dialogue token code: {$promised}                                                                             | 
Sheena      | An important point is that 'promised' commands are not skipped during skip mode.                             | 
            |                                                                                                              | 
#token      | Dialogue token code: {$standard}                                                                             | 
Sheena      | Is everything fine?                                                                                          | 
            |                                                                                                              | 
$f-promised | show two selections async                                                                                    | 
            | {Yes!}                                                                                                       | 
            | --- Jump to {Q3-Yes}                                                                                         | 
            | {Sorry, but I didn't understand.}                                                                            | 
            | --- Jump to {Q3-No}                                                                                          | 
            |                                                                                                              | 
#label      | //============ {Q3-No} ============//                                                                        | 
Sheena      | No problem. I'll repeat again.                                                                               | 
            | --> Change the icon to {smile}                                                                               | 
$sync       | jump to label                                                                                                | 
            | Jump to {explain skip mode}                                                                                  | 
            |                                                                                                              | 
#label      | //============ {Q3-Yes} ============//                                                                       | 
Sheena      | Ok, that concludes today's learning.                                                                         | 
            | --> Change the icon to {smile}                                                                               | 
            |                                                                                                              | 
Sheena      | I hope you make use of the featrues we learned to make more wonderful dialogue scenes!                       | 
            | --> Change the icon to {normal}                                                                              | 
            |                                                                                                              | 
Sheena      | Good bye.                                                                                                    | 
            | --> Change the icon to {smile}                                                                               | 
            |                                                                                                              | 
#label      | //============ {End} ============//                                                                          | 