Files
Dawn-Godot/cutscene/conversation/ConversationElement.gd

10 lines
245 B
GDScript

extends Resource
class_name ConversationElement
@export_node_path("Entity") var entity:NodePath
@export_multiline var label: String
func sceneItem() -> int:
await UI.TEXTBOX.setTextAndWait(label)
return CutsceneSingleton.CUTSCENE_CONTINUE