I want to know how to execute a function by reacting dynamically when outputting a specific character.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ruina11011

I want to develop dialogue systems like Katana Zero. But it failed for the following reasons.

First, I use Substr function instead of persent visible, visible characters function to output Text.
Then, as “/” is output, it is replaced with “” as a REPLACE function, and the coroutine is executed at the same time

However, the REPLACE function could not be used dynamically and had to be used in advance.
Also, when using the Substr function to output char, the BBcode function could not be used satisfactorily.

Is there another way besides using Substr and replace functions?

Example) “He / llo”-> “He (0.25 second delay) llo”