extends Control ## The timeline to load when starting the scene export(String, "TimelineDropdown") var timeline: String export(bool) var add_canvas = true export(bool) var reset_saves = true export(bool) var debug_mode = false export(bool) var show_immediately = false func _ready(): if show_immediately: show_dialogue() func show_dialogue(): var d = Dialogic.start(timeline, '', "res://addons/dialogic/Nodes/DialogNode.tscn", debug_mode, add_canvas) get_parent().call_deferred('add_child', d) queue_free()