diff --git a/src/webgal-script/dialogue.md b/src/webgal-script/dialogue.md index 71cfdce87..ba4847fe1 100644 --- a/src/webgal-script/dialogue.md +++ b/src/webgal-script/dialogue.md @@ -155,6 +155,14 @@ setTextbox:hide; // 关闭文本框 setTextbox:on; // 可以是除 hide 以外的任意值。 ``` +特别的,使用 `:;` 也可以关闭对话框,并且不需要通过 `setTextbox:on` 开启。示例: + +```ws +玩家:台词1; +:; //此时文本框被关闭 +玩家:台词2; //此时文本框正常显示 +``` + ## 结束游戏并返回到标题 如果你想要在剧情结束后结束游戏并返回到标题,请使用: