From e0e6945cab379dad431d37b1669b8e7a87087b20 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Sun, 5 Jan 2025 21:28:15 -0600 Subject: [PATCH] VN textbox event --- .../Cutscene/Event/VisualNovel/TextboxEvent.gd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/Cutscene/Event/VisualNovel/TextboxEvent.gd diff --git a/scripts/Cutscene/Event/VisualNovel/TextboxEvent.gd b/scripts/Cutscene/Event/VisualNovel/TextboxEvent.gd new file mode 100644 index 0000000..bd79f40 --- /dev/null +++ b/scripts/Cutscene/Event/VisualNovel/TextboxEvent.gd @@ -0,0 +1,15 @@ +class_name TextboxEvent extends "res://scripts/Cutscene/CutsceneEvent.gd" + +var text:string; + +func _init( + text:string +) -> void: + super._init(); + self.text = text; + +func start() -> void: + print("He can say ", text); + +func isDone() -> bool: + return false \ No newline at end of file